3 ms·
Apple has one for `os_unfair_lock`: https://developer.apple.com/documentation/os/2976314-os_unfair_lock_assert_owner https://developer.apple.com/documentation/o
by archagon 4y ago
Apple has one for `os_unfair_lock`: https://developer.apple.com/documentation/os/2976314-os_unfair_lock_assert_owner https://developer.apple.com/documentation/os/2976314-os_unfa...
- alkonaut 4y agoLooks like if (!Monitor.IsEntered(_x)) throw new InvalidOperation. Will do the trick in C#