Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!sdd.hp.com!uakari.primate.wisc.edu!ames!uhccux!munnari.oz.au!bunyip.cc.uq.oz.au!brolga!uqcspe!cs.uq.oz.au!shocking From: shocking@cs.uq.oz.au (Stephen Hocking) Newsgroups: comp.unix.internals Subject: Re: threads without kernel mods Message-ID: <1844@uqcspe.cs.uq.oz.au> Date: 8 Jun 91 21:10:19 GMT References: <1991May20.123423.10388@linus.mitre.org> <4815@skye.ed.ac.uk> <13598@dog.ee.lbl.gov> <1991Jun8.030135.13605@cbnewsk.att.com> Sender: news@cs.uq.oz.au Reply-To: shocking@cs.uq.oz.au Lines: 9 I put together a small package to do this sort of thing on 286/386 systems. It used a combination of longjmp/setjmp and alloca to get the stack to the right position. It was created in response to a need to translate some Modula 2 code to C, and thus has semantics similar to that langauges TRANSFER & NEWPROCESS routines, although workspace allocation is done internally. Stephen