> how do I map a cthread_t to a thread_t? There is no exported interface for it.
> Have the thread dump its hurd_thread_self() value into a global variable? > I want to cancel a forked and detached cthread. Once it's detached, you can't presume the cthread_t is still good (since it might die at any time). So the only safe thing is if you have some data structure that tells you for sure that the thread is live and blocked somewhere because the thread itself wrote the data structure and then blocked. In short, yes. _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd