3 ms·
As of iOS 10 and macOS 10.12, it is no longer private: `os_unfair_lock`. https://developer.apple.com/reference/os/os_unfair_lock https://developer.apple.com/re
by LeoNatan25 10y ago
As of iOS 10 and macOS 10.12, it is no longer private: `os_unfair_lock`.
https://developer.apple.com/reference/os/os_unfair_lock https://developer.apple.com/reference/os/os_unfair_lock
- eridius 10y agoOh good! I'll have to do some research at some point to find out if this is literally the same thing as the os_lock that the Obj-C runtime uses, but either way, I'm glad it's available now.
- LeoNatan25 10y agoIt uses the same private API (or at least, what you described in your previous post).