On Tue, May 22, 2001 at 02:52:39AM -0400, Roland McGrath wrote: > The Hurd servers won't be usable if converted to > pthreads without working cancellation support. I don't see how you're > going to have cancellation without doing a proper pthreads implementation > in libc that substantially overhauls the hurd signal code.
Can you expand on that? In particular, I would be grateful if you could clarify "cancellation". Cancellation in pthreads is requesting the termination of a thread, where I neither see how that is important in the Hurd, nor what is missing for that in the current implementation. So I guess you are referring to the interruptable RPCs. Either we keep the current implementation, but put it on top of pthreads rather than cthreads, or we change the Hurd to use the pthread infrastructure for that (I guess that means using pthread_cleanup_* in the relevant places and using the terminating pthread_cancel, rather than using the hurd_condition_wait semantics, where a non-zero return value indicates cancellation). Thanks, Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED] Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.marcus-brinkmann.de _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd