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 >
Text File  |  1993-01-05  |  319b  |  17 lines

  1. // COR.HPP
  2. typedef    unsigned int    word;
  3.  
  4. class coroutine {
  5. friend void startProcess(void);
  6. friend void resume(coroutine*);
  7.     word stkSegment,stkOffset,stkSize;
  8.     virtual void main() {}
  9.     virtual void superMain() {}
  10. public:
  11.     coroutine(void);
  12.     ~coroutine(void);
  13. };
  14. void resume(coroutine*);
  15. void detach(void);
  16.  
  17.