home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
m
/
mar93.zip
/
1103076A
< prev
next >
Wrap
Text File
|
1993-01-05
|
319b
|
17 lines
// COR.HPP
typedef unsigned int word;
class coroutine {
friend void startProcess(void);
friend void resume(coroutine*);
word stkSegment,stkOffset,stkSize;
virtual void main() {}
virtual void superMain() {}
public:
coroutine(void);
~coroutine(void);
};
void resume(coroutine*);
void detach(void);