Mail Archives: djgpp/1996/02/29/17:28:26
Take a look at aetsk102.zip in SimTel/vendors/djgpp/v1tk. Also in a C User
Journal about March 1993.
I think aetsk102.zip is in C++, but I used the idea in C. To do the equivalent
of a fork() a second stack is set up, I forget precisely how, and setjmp() and
longjmp() are used to used to save and restore process state. I did not
implement exec().
Peter Horan School of Computing and Mathematics
peter AT deakin DOT edu DOT au Deakin University
Geelong
+61-52-27 1234 (Voice) Victoria 3217
+61-52-27 2028 (FAX) Australia
- Raw text -