This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: G++, C++ Exception handling, and cygwin


----- Original Message -----
From: "Constantine Sapuntzakis" <csapuntz@stanford.edu>
To: <cygwin-apps@sources.redhat.com>
Sent: Saturday, June 16, 2001 11:46 AM
Subject: G++, C++ Exception handling, and cygwin


> The libgcc.a that is distributed with cygwin gcc-2.95.3-4 only
supports
> single threaded C++ exception handling. The library has exception
routines
> that use static variables.
>
> When I  substitute a version of libgcc.a that includes the code in
> gcc/gthr-win32.h, multi-threaded
> C++ apps with exception handling seem to work (we've been running them
for a
> couple months
> now).
>
> Given that the code seems to be there to do this correctly, why is it
not
> enabled?

a) I don't believe therehas been a release of gcc since this was pointed
out on this list recently.
b) pthreads are the correct thread handlers for cygwin, not win32.
No-one has provided feedback on stability using pthreaded exception
handlers however.

Rob

> Thanks,
> Costa
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]