This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: why I was seeing exceptions thrown across threads -- a detailed explanation
>>>>> "Adam" == Adam Megacz <gcj@lists.megacz.com> writes:
Tom> version of) quickthreads, a cooperative thread package based on
Tom> setjmp (plus some small assembly hacks).
Adam> Interesting. If it was cooperatively multitasked, did you have
Adam> to hack GCC to insert a yield() after every instruction?
No. Java doesn't require preemptive multithreading (and even if it
did, at the time we didn't care). We task switched on mutex and
condition variable operations, and maybe a couple other places.
Anyway, the quickthreads code was never really complete anyway, which
is why there are only vestigial traces of it in today's libgcj.
Tom