#15736: pthread_barrier_t is not working properly
----------------------------+----------------------------
Reporter: X512 | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/POSIX | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------+----------------------------
Comment (by waddlesplash):
A first step would be attaching a debugger and determining what is waiting
and where/why inside libroot's pthread_barrier.cpp.
Actually, looking at that code briefly, I'm not sure why it uses the
kernel mutex API directly, rather than using the user_mutex wrappers,
seems a little strange. I guess because it needs to do
B_USER_MUTEX_UNBLOCK_ALL?
--
Ticket URL: <https://dev.haiku-os.org/ticket/15736#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.