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 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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... =========================================================