This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Exceptions and thread safety
- To: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Subject: Exceptions and thread safety
- From: Anjul Srivastava <anjul dot srivastava at sanchez dot com>
- Date: Wed, 22 Mar 2000 11:12:04 -0500
I am told that
exception handling in gcc is not thread safe. I am not sure what this precisely
means, but I would imagine that if you have two threads and both enter exception
handling code, then something nasty will happen.
1.
Could somebody more knowledgeable please characterise this problem (if it
exists) more precisely.
2.
I would like to work on a solution to this problem. Since this would be my first
foray into gcc, I would really appreciate any mentoring as to how to go about
fixing the problem. (I have a reasonable knowledge of compiler design &
techniques, C/C++ programming, and Unix threads).
Anjul.