This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
setjmp() shares a single jmp_buf across all threads
- From: Adam Megacz <gcj at lists dot megacz dot com>
- To: java at gcc dot gnu dot org
- Date: 14 Jan 2002 09:19:26 -0800
- Subject: setjmp() shares a single jmp_buf across all threads
- Organization: Myself
I figured out why exceptions and threads don't cooperate on win32 --
it seems that a single jmp_buf is being used for all calls to setjmp(),
instead of a different buffer for each thread.
Unfortunately, I can't seem to find where the calls to setjmp() are --
I guess they're not in libjava. Is this one of those things that gcc
handles? If so, can anybody tell me where to start looking?
- a