delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/29/02:32:58

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Christophe BARIBAUD" <cbaribau AT jnjfr DOT jnj DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: multi-threading
Date: Tue, 29 Jan 2002 08:16:07 +0100
Organization: CompuServe Interactive Services
Lines: 41
Message-ID: <a35i6q$jdn$1@suaar1ab.prod.compuserve.com>
NNTP-Posting-Host: fra-tgn-oyk-vty17.as.wcom.net
X-Trace: suaar1ab.prod.compuserve.com 1012288538 19895 212.211.90.17 (29 Jan 2002 07:15:38 GMT)
X-Complaints-To: newsmaster AT compuserve DOT com
NNTP-Posting-Date: 29 Jan 2002 07:15:38 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Sending messages with attachements is ttoooo sslloowwww

So I repost my message **without** attachement, and with a link to a (not
pretty) personal page just build

http://ourworld.compuserve.com/homepages/cbaribaud

I'm still trying to build a minimalistic multi-threading kernel under
DJGPP....

I have tried LWP (thanks to Florian Schulze for a link to a **working**
version of LWP), but its example 4 hangs under Windows 2000, never at the
same position...

So, I continue my little work ;-)

Eli Zarestkii found a enormous bug in my preceeding release (I haven't yet
read crt0 source code ...) so this release uses standard memory allocation
function malloc for stacks.

I do think that a pre-emptive multi-threading kernel under MS-DOS is a wrong
way, since DJGPP libraries, DPMI and DOS aren't reentrant. The only
efficient solution is to use a natively multi-thread OS, like Linux or
Windows NT.

But, it is still possible to develop a NON pre-emptive multi-threading
kernel (like Windows 3.1)

I will have now to find how to use serial ports without loosing characters,
under MS-DOS AND Windows...

For the moment, I send the current release of my work

Examples 3 and 4 are the same as LWP one's.

Regards

CB



- Raw text -


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