X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Ben Peddell 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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 > 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. 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