Bug in FreeBSD 10.1's pthread barrier implementation?

Sebastian Kuzminsky S.Kuzminsky at F5.com
Fri Jun 5 17:20:42 UTC 2015


I'm running in to a situation where pthread_barrier_t is not completely initialized, and later pthread_barrier_destroy() fails.

The attached patch (against FreeBSD 10.1) fixes the issue for me.

--
Sebastian Kuzminsky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-initialize-pthread_barrier_t-s-b_destroying-field.patch
Type: application/octet-stream
Size: 799 bytes
Desc: 0001-initialize-pthread_barrier_t-s-b_destroying-field.patch
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20150605/c57f8008/attachment.obj>


More information about the freebsd-hackers mailing list