www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/16/05:15:52

Sender: mckee AT delorie DOT com
Message-ID: <337C28C7.5D35@rtp.gtegsc.com>
Date: Fri, 16 May 1997 05:28:39 -0400
From: David McKee <david DOT mckee AT rtp DOT gtegsc DOT com>
Organization: GTE (My views are my own)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Some questions about LWP.
References: <199705091000 DOT DAA11691 AT f39 DOT hotmail DOT com> <3374C6D2 DOT F2F AT escmail DOT orl DOT mmc DOT com>

Alex Holden wrote:
 >
 > I have downloaded LWP (the pre-emptive multitasking library for
DJGPP), and
 > wrote a couple of simple example programs with it to try it out. It
seems a very
 > interesting library, but I have a few questions:
 > 1. What exactly is the difference between pre-emptive and
co-operative
 > multitasking, and why is pre-emptive described as being kuhl whilst
co-operative
 > is bleh (in the documentation)?

I have a problem here:  LWP stands (presumably) for "Light Weight
Process" which
implies threads.  "Pre-emptive" implies process.  These are (usually)
mutually 
exclusive, the lib is either a multi-tasking pre-emptive process based
lib 
(which is "Heavy Weight") or it is a cooperative, non pre-emptive,
thread based 
lib ("Light Weight").  Which is it?  Does it have both implementations?

Thanks.


-- David T. McKee: 
======================Signature Block====================
"As a man thinks in his heart, so is he..." Pr 23:7
---------------------------------------------------------
"The unexamined Life is not worth living..."  Plato
---------------------------------------------------------
"It is the glory of God to conceal a matter; To search out
a matter is the glory of kings."  Pr 25:2
---------------------------------------------------------
There is nothing so sacred as it cannot be looked into...
=========================================================

- Raw text -


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