Message-Id: <199602292216.JAA01230@hestia.ccs.deakin.edu.au> To: Tom Sgouros Cc: djgpp AT delorie DOT com Subject: Re: Multi-threads? In-reply-to: Your message of Thu, 29 Feb 1996 13:56:47 -0500. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 01 Mar 1996 09:16:53 +1100 From: Peter Horan 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