home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_11_03
/
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);