I think I may have come across a race in the implementation of `pthread_barrier_wait` in librthread.
This POC[1] forces the issue with a strategically placed `sleep(3)` call. This is in essence the same issue as is being reported in glibc here[2]. I hope this is the correct place to report things like this. Thanks for your time, Kári [1]: https://gist.github.com/kthelgason/687e53091182869b365b [2]: https://sourceware.org/bugzilla/show_bug.cgi?id=12674
