delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/11/23:39:14

From: ayoung <ayoung AT pacific DOT net DOT hk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Threads
Date: Fri, 11 Feb 2000 07:46:53 -0800
Organization: Pacific Supernet Limited
Lines: 15
Message-ID: <38A50FED.58E5B8E8@pacific.net.hk>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000209090153 DOT 9816H-100000 AT is> <38A3BB88 DOT 9F907CE9 AT pacific DOT net DOT hk> <87vup3$ko$1 AT gateway DOT qnx DOT com>
NNTP-Posting-Host: ppp34.dyn2.pacific.net.hk
Mime-Version: 1.0
X-Mailer: Mozilla 4.05 [en] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Alain Magloire wrote:

> Well technically, according to what Eli already said, all system calls or any that
> is a DOS

> call in not reentrant.  And since the C lib was not implemented with MT in mind I
> suspect  a healthy chunck is using
> globals and static vars and handling signals etc ..

Yes agreed the further one looks the larger the issue gets.    The solution is a
form a
PC-supervisor which should serialise DOS access  so which there would be several
methods of implementation from s/w int chaining to replacing the system calls.


- Raw text -


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