#11482: pthreads: possible race condition leading to deadlock ---------------------------------+---------------------------- Reporter: jessicah | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/libroot.so | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All ---------------------------------+---------------------------- Comment (by jessicah): The only thing I can see is that all three threads are blocked, calling `thread_block`. Since none of them use `thread_block_with_timeout`, I don't really see how any of the threads could possibly hope to progress, which would explain the deadlock. That's about all the sense I can make out of the situation. The same tests under Linux don't exhibit this behaviour, FYI. The tests there all succeed without issue. -- Ticket URL: <https://dev.haiku-os.org/ticket/11482#comment:3> Haiku <https://dev.haiku-os.org> Haiku - the operating system.