Re: The semantics of pthread_cond_wait

2012-08-16 Thread Richard Braun
On Thu, Aug 16, 2012 at 11:48:35AM +0200, Richard Braun wrote: > On Wed, Aug 15, 2012 at 05:47:47PM -0700, Thomas DiModica wrote: > > My understanding is that pthread_cond_wait is a cancellation point. > > It achieves this by entering asynchronous cancellation mode before blocking. > > > > I don't

Re: The semantics of pthread_cond_wait

2012-08-16 Thread Richard Braun
On Wed, Aug 15, 2012 at 05:47:47PM -0700, Thomas DiModica wrote: > My understanding is that pthread_cond_wait is a cancellation point. > It achieves this by entering asynchronous cancellation mode before blocking. > > I don't see, however, any code that checks for a pending cancellation when > we

The semantics of pthread_cond_wait

2012-08-15 Thread Thomas DiModica
My understanding is that pthread_cond_wait is a cancellation point. It achieves this by entering asynchronous cancellation mode before blocking. I don't see, however, any code that checks for a pending cancellation when we enter the function. As far as I can tell, the implementation is that pthrea