|
From: Jeremy F. <je...@go...> - 2005-01-20 01:10:13
|
On Thu, 2005-01-20 at 00:44 +0000, Julian Seward wrote: > > The only problem then is the longjmp/exception case. > > Do we even need to handle this case, for libpthread? For that matter, > can we also ignore recursion? We need to deal with taking a signal while blocked in a pthread function; if the signal handler longjmps, it's as if the pthread function did. Hm, and pthread_cancel ends up invoking gcc's exception unwinding machinery, so it effectively looks like a C++ exception. Don't know about recursion, but I think we've been burned enough to not rule it out. Or pthreads functions calling each other. J |