This is the mail archive of the
mailing list for the GCC project.
Re: WHOO! RE: exceptions and threads---a survival tactic!
- To: kaz at cafe dot net (Kaz Kylheku)
- Subject: Re: WHOO! RE: exceptions and threads---a survival tactic!
- From: hjl at lucon dot org (H.J. Lu)
- Date: Thu, 12 Mar 1998 12:31:21 -0800 (PST)
- Cc: egcs at cygnus dot com
> I stayed home for a while this morning instead of going to work in
> order to install the March 8th snapshot with thread-safe exception
> handling. (My platform is a dual-pentium Linux system, and I'm using
> Two words: it works!
> Six word caveat: as far as I can tell.
> I performed a number of tests with a program that would consistenly
> core dump without the thread-safe eh, due to concurrent exceptions
> triggered by related events. About 10-20% of the trial runs, the program
> would not crash, due to a different order of execution of the threads.
> I was able to successfully run it about half dozen times without
> I did correctly enable the thread-support; there are unresolved symbols
> in libgcc.a to various POSIX threading API functions such as
> Hooray! Good work, people!
> What I will try next is compiling a C program and see if it the
> linker complains about undefined pthread-related symbols.
Please note that thread-safe EH is only supported on Linux using
glibc 2. If you use libc 5, it will not work and you are on your
own. However, if you have problems with thread-safe EH on Linux
with glibc 2, please let me know. I will see what I can do.
H.J. Lu (firstname.lastname@example.org)