delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/17/01:58:06

Date: Tue, 17 Feb 1998 08:56:40 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: djgpp AT delorie DOT com
Subject: Re: True Multitasking
In-Reply-To: <Ol0H$pxO9GA.364@upnetnews02.moswest.msn.net>
Message-ID: <Pine.SUN.3.91.980217084748.3136K-100000@is>
MIME-Version: 1.0

On Mon, 16 Feb 1998, DeHackEd wrote:

> Does DJGPP support multitasking in any way?

No.  There are several threading libraries floating around, though.  I 
would suggest to search the DJGPP mail archives for pertinent words.

> I want to write a few functions all
> to run at once (i'll accept a millisecond or two of being suspended 
> while other code runs) or would it be better just to have some timer 
> code adjust the  register %eip every now and then?

Which solution is ``better'' depends on the application, but you don't 
tell anything about that.  For example, there is a signal SIGALRM which 
can be used to run certain code on a timer tick, but whether it is 
useful in your case depends on what are you trying to accomplish.

> EMail address not given out due to low-life spammers. Please reply via
> newsgroup.

Please do not place on *me* the burden of fighting spam that bothers
*you*.  I cannot afford reading all the headers and signatures to find out
which addresses are fake.  If you don't want your address to appear,
please make the effort to set up your mailer so that my mailer doesn't try
to reply to an invalid address.  For example, putting "djgpp AT delorie DOT com"
in the Reply-to: header might do the trick. 

- Raw text -


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