delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/10/18/13:01:17

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Sat, 18 Oct 2003 11:56:00 -0500
From: mcheu <mpcheu AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: threads
Date: Sat, 18 Oct 2003 12:56:02 -0400
Organization: none
Message-ID: <erq2pvghjgbkv29a38g9fba5vlppls3628@4ax.com>
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>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
X-Forwarded: by - (DeleGate/8.7.2)
Lines: 23
NNTP-Posting-Host: 199.166.210.182
X-Trace: sv3-0zj6tRJtPiFvipHaHYjPRudCD64YdP1N9CuZAGw94ywAvPPgJ1KlsvY8p9MkVYNYVijQfq5JhWeYp7z!1gsv3uZbORmwqf2qAr5NueiQXvyvqF1m1RcdwA0wfGtGQzDRFIGCicdBmSQv0ry0ExDHjHnoZQ8e!PUjnjhiwGJU=
X-Complaints-To: abuse AT golden DOT net
X-DMCA-Complaints-To: abuse AT golden DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Fri, 17 Oct 2003 08:15:33 -0400, Drew <drew AT drew DOT com> 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?
>

You need to use a compiler for an OS that supports threading. 

For example, the Linux/Unix version of GCC will do threads just fine.
The issue isn't the compiler.  It's the OS.  DOS is a single tasking
OS, and isn't POSIX compliant, so it doesn't support threading.  I
doubt you'll find any DOS oriented compilers that will support
threading

If you want to compile for windows and you use a compiler specifically
meant for windows, you will be able to do threading.


----------------------------------------
Thanks,

MCheu

- Raw text -


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