delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/10/18/02:47:24

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Ben Peddell <killer DOT lightspeed AT bigpond DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: threads
References: <2u7tovcdi21agllg6vuo3m3lnlhhlmsko2 AT 4ax DOT com> <yGPjb.154328$bo1 DOT 149062 AT news-server DOT bigpond DOT net DOT au> <h8nvovou22l2cp178609a6t2icstufagln AT 4ax DOT com>
Lines: 37
Message-ID: <7f5kb.155636$bo1.138815@news-server.bigpond.net.au>
Date: Sat, 18 Oct 2003 06:40:03 GMT
NNTP-Posting-Host: 144.139.176.180
X-Complaints-To: abuse AT bigpond DOT net DOT au
X-Trace: news-server.bigpond.net.au 1066459203 144.139.176.180 (Sat, 18 Oct 2003 16:40:03 EST)
NNTP-Posting-Date: Sat, 18 Oct 2003 16:40:03 EST
Organization: BigPond Internet Services
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Drew wrote:
> Thanks Ben....what C++ compiler should I use to do threads?  Is there
> a free one like DJGPP that does threads that I could use or will I
> need to purchase a GUI one like Borland?
> 
> 
> 
> 
> On Fri, 17 Oct 2003 10:40:30 GMT, Ben Peddell
> <killer DOT lightspeed AT bigpond DOT com> wrote:
> 
> 
>>Drew wrote:
>>
>>>Is it possible to do threads with DJGPP?  I've got a simple Java
>>>thread program that I want to convert to C++ to learn about doing
>>>threads in C++ but I don't know if DJGPP can do them or not?
>>>
>>>Does anyone know or have a short, sample DJGPP thread program?
>>>
>>>Thanks :)
>>>Drew
>>>
>>
>>Since DOS does not support threads, neither does DJGPP.
>>However, it might be possible to emulate a threaded program in pure DOS.
> 
> 

As I say, DOS does not support threads, so no DOS compiler will support 
threads without emulating them. There is a pthread library available for 
DJGPP, but it's appearantly still alpha code.
<ftp://ftp.cs.fsu.edu/pub/PART/PTHREADS/pthreads.zip>
When I checked that link, their admin prohibited access:
icmp: host ww2.cs.fsu.edu unreachable - admin prohibited filter for 
144.139.xxx.xxx.xxxxx > ww2.cs.fsu.edu.ftp

- Raw text -


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