X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Drew Newsgroups: comp.os.msdos.djgpp Subject: Re: threads Date: Wed, 22 Oct 2003 10:58:55 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <2u7tovcdi21agllg6vuo3m3lnlhhlmsko2 AT 4ax DOT com> <7f5kb.155636$bo1 DOT 138815 AT news-server DOT bigpond DOT net DOT au> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse AT supernews DOT com Lines: 45 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 18 Oct 2003 06:40:03 GMT, Ben Peddell wrote: >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. Right...I got that. I was asking about any C++ compiler that supported them, not DOS ones in particular. Thanks fo the info on the pthread library. :) > >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