barrier destroy must also wait for threads in other processes exiting barrier
authorRich Felker <dalias@aerifal.cx>
Wed, 28 Sep 2011 16:47:15 +0000 (12:47 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 28 Sep 2011 16:47:15 +0000 (12:47 -0400)
commit8f4a115e7d38c31ad8d8c7233eaff2db270aebd8
treec7364fb7d2b27d0523302aff0527e6da4b8195e6
parentf0a8d60d32b7d6a093596abdbb9711e64eff2594
barrier destroy must also wait for threads in other processes exiting barrier

the vm lock only waits for threads in the same process exiting.
actually this fix is not enough, but it's a start...
src/thread/pthread_barrier_destroy.c