Re: [bug?] pthread_barrier_wait

2016-03-16 Thread Paul Irofti
On Tue, Mar 15, 2016 at 02:30:26AM +0100, Tobias Ulmer wrote: > On Tue, Mar 15, 2016 at 12:51:45AM +0100, Tobias Ulmer wrote: > > On Thu, Mar 10, 2016 at 10:23:17PM +, Kári Tristan Helgason wrote: > > > I think I may have come across a race in the implementation of > > > `pthread_barrier_wait`

Re: [bug?] pthread_barrier_wait

2016-03-16 Thread Paul Irofti
> I will try your patch and post back here. I discussed the patch with Tobias and it is not enough. The barrier pointer could become NULL during _destroy. I'm currently working on a better diff which I'll post once I'm confident it's good enough. > > > On 15 Mar 2016, at 01:30, Tobias Ulmer w