X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.107.175.217 with SMTP id p86mr23106626ioo.101.1491939554911; Tue, 11 Apr 2017 12:39:14 -0700 (PDT) X-Received: by 10.157.26.98 with SMTP id u31mr530128otu.0.1491939554823; Tue, 11 Apr 2017 12:39:14 -0700 (PDT) Newsgroups: comp.os.msdos.djgpp Date: Tue, 11 Apr 2017 12:38:59 -0700 (PDT) Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=50.188.152.148; posting-account=05hOMwoAAAB6R8xtiQKzEljSMzgOhVF1 NNTP-Posting-Host: 50.188.152.148 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3e5d3419-db17-44c9-b361-f799206cf532@googlegroups.com> Subject: what #ifdef for pthreads on djgpp? and does it work yet? From: "Jim Michaels (jmichae3 AT yahoo DOT com) [via djgpp AT delorie DOT com]" Injection-Date: Tue, 11 Apr 2017 19:39:14 +0000 Content-Type: text/plain; charset=UTF-8 Bytes: 1519 Lines: 9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v3BJj1q5016420 Reply-To: djgpp AT delorie DOT com I need to know what is #define'd when pthreads is enabled? I also need to know what functions in the pthreads API how to tell how many available and how many total processors there are, because these are critical to my program's operation (actually, any multithreaded program) - you don't just allocate millions and expect machine to work. what #ifdef for pthreads on djgpp? and does it work yet? Jim Michaels