Re: Hurd_condition_wait in glibc libpthreads in Debian

2012-08-02 Thread Richard Braun
On Thu, Aug 02, 2012 at 03:13:12PM -0700, Thomas DiModica wrote: > I get what you're saying: I'm confusing the semantics of how cancellation > is HANDLED with the semantics of how it is SIGNALED. The signaling > semantics are the same. That's it. > You mean like a PTHREAD_CANCEL_GNU? It would be

Re: Hurd_condition_wait in glibc libpthreads in Debian

2012-08-02 Thread Thomas DiModica
>No, the semantics are the same. And you're saying it yourself : >"hurd_thread_cancel kindly informs the thread that it has been >canceled". The description of pthread_cancel is "The pthread_cancel() >function shall request that thread be canceled. [...] The cancellation >processing in the target t

Re: Hurd_condition_wait in glibc libpthreads in Debian

2012-08-02 Thread Richard Braun
On Wed, Aug 01, 2012 at 06:40:05PM -0700, Thomas DiModica wrote: > > > >No, the semantics are the same. The internal implementation may slightly > >differ, I haven't looked in detail. The point is how to handle > >cancellation from a cancelled thread, not how to mark a thread as being > >cancelle