delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/18/21:22:58

Message-Id: <9805182355.AA23366@gcef.gc.maricopa.edu>
Date: Mon, 18 May 1998 16:55:10 -0700 (MST)
From: "Joshua James Turpen" <44699 AT ef DOT gc DOT maricopa DOT edu>
To: djgpp AT delorie DOT com
Subject: Re: Threading and asynchronous processes

PDMLWP (based on LWP) does indeed use the DJGPP signal mechanism for task
switching.  If one thread spawns "command.com", threading safely stops
until command.com returns, due to the nature of signal handling under DJGPP.

AFAIK It's pretty much the only 'legal' way under DPMI to change
contexts in an asynchronous manner.  I was forced to go to great lengths
and use nasty DPMI tricks in order to do it any other way.


Josh
44699 AT ef DOT gc DOT maricopa DOT edu


- Raw text -


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