mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: NIO's Lock currently just deadlocks if a thread which already holds a lock tries to reacquire it. This however isn't even really defined behaviour. Modifications: Switch us to a guaranteed crash from a unguarnateed hang. Result: Easier to debug deadlocks with NIO's lock.