https://issues.dlang.org/show_bug.cgi?id=22555
--- Comment #2 from FeepingCreature <[email protected]> --- I don't see any good way in fact to fix this while Mutex is recursive. I've been playing with approaches all day, but the problem is that the interaction of pthread_cond_wait and mutexes leaves it fairly open whether the mutex is actually locked after pthread_mutex_wait has returned - and there is no way to check! --
