www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/29/17:28:26

Message-Id: <199602292216.JAA01230@hestia.ccs.deakin.edu.au>
To: Tom Sgouros <tomss AT conan DOT ids DOT net>
Cc: djgpp AT delorie DOT com
Subject: Re: Multi-threads?
In-reply-to: Your message of Thu, 29 Feb 1996 13:56:47 -0500.
<Pine DOT SUN DOT 3 DOT 90 DOT 960229135414 DOT 10891A-100000 AT conan DOT ids DOT net>
Mime-Version: 1.0
Date: Fri, 01 Mar 1996 09:16:53 +1100
From: Peter Horan <peter AT deakin DOT edu DOT au>

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019