Mail Archives: djgpp/1997/05/16/05:15:52
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 -