delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/24/13:12:07

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP Support Dual Processor?
Date: Thu, 23 Sep 1999 11:18:24 +0200
Organization: NetVision Israel
Lines: 25
Message-ID: <Pine.SUN.3.91.990923111803.10652W-100000@is>
References: <199908181620 DOT MAA28656 AT delorie DOT com> <7sbk10$6n5$3 AT lure DOT pipex DOT net>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 938078230 943 199.203.121.2 (23 Sep 1999 09:17:10 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 23 Sep 1999 09:17:10 GMT
X-Sender: eliz AT is
In-Reply-To: <7sbk10$6n5$3@lure.pipex.net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 22 Sep 1999, Duncan Coutts wrote:

> DJGPP runs using DPMI which has many nice features such as memory
> protection, virtual memory, but it is still Dos single tasking.

There's nothing inherently single-tasking about DPMI.  As a matter of
fact, Caldera's DR-DOS already supports multi-tasking with its DPMI
host.

> Win95+, Unix and other more advanced OSs support multitasking
> (pre-emptive, not co-operative) by using multiple threads. Some OS's
> (WinNT & probably some Unix versions) can take advantage of multiple
> processors by allowing different threads to run on different
> processors.

It is still possible that e.g. all system calls run on a different
processor.  This requires that the underlying OS supports such a
feature, but DJGPP won't prevent it from happening.

> Any multitasking is platform specific and therefore non-portable.
> Unfortunately for you, DJGPP's platform has no such features.

Actually, there are a couple of threading packages that work with
DJGPP.  Check out section 22.3 of the DJGPP FAQ list.

- Raw text -


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