Mail Archives: djgpp/1996/12/21/21:22:29
From: | snarfy AT goodnet DOT com
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | LWP is broken
|
Date: | 21 Dec 1996 21:35:39 GMT
|
Organization: | GoodNet
|
Lines: | 12
|
Message-ID: | <59hl7b$rmo@news.goodnet.com>
|
NNTP-Posting-Host: | goodnet.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
The LWP package is broken, in case you haven't noticed. The demo that
comes with it works, but that's because it calls printf(). printf is
redfined so that it blocks a task switch during the function call. The
code that blocks a task switch calls yield() if a certain variable is
set. The reason the demo works is because that variable is ALWAYS set,
therefore it is always yielding, and never pre-empting. I've fixed some
of this, but it's not complete. I haven't had much time to work on it
during the holidays, but a new version should be out within a week or two.
Josh
snarfy AT goodnet DOT com
- Raw text -