delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-apps-owner AT sourceware DOT cygnus DOT com |
List-Subscribe: | <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
List-Post: | <mailto:cygwin-apps AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs> |
Delivered-To: | mailing list cygwin-apps AT sources DOT redhat DOT com |
X-Authentication-Warning: | hp2.xraylith.wisc.edu: khan owned process doing -bs |
Date: | Mon, 26 Mar 2001 17:10:38 -0600 (CST) |
From: | Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU> |
To: | Heribert Dahms <heribert_dahms AT icon-gmbh DOT de> |
cc: | cygwin-apps AT cygwin DOT com, cygwin AT cygwin DOT com |
Subject: | RE: pthreads support |
In-Reply-To: | <BF35D9C143BCCC4EB63181B67C9320C804DD64@serv-075.icon-germany.local> |
Message-ID: | <Pine.HPP.3.96.1010326170349.16861B-100000@hp2.xraylith.wisc.edu> |
MIME-Version: | 1.0 |
On Mon, 26 Mar 2001, Heribert Dahms wrote: > can you please give a short description or URL > about what multithreading gcc would use? > I always thought that only the worker subprocesses > (cpp, cc1, ld, as) of the compiler driver may run > concurrently! The GCC compilers and drivers are not multi-threaded, so you get no benefit from that. The multi-threading interface in gcc is needed to support thread-safe C++ exceptions (Java may need it too, but I know next to nothing about the GCC Java front-end). Currently supported interfaces are single (default for Cygwin for example), POSIX, Windows32, DCE, and vxWorks. The Mingw compiler uses the Windows32, which, with a slight change [1], it'll work with Cygwin as well, but I believe it'll be better to avoid that and work on getting pthreads interface to work. [1] In that case, you'll also need a helper DLL that every MT C++ code links with, or need to add a small bit of code to Cygwin. Regards, Mumit
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |