We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReactSwift :4.0 + or 5.0 + Xcode:10.1 device:iOS8 5s
static func make() -> Lock { #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) if #available(*, iOS 10.0, macOS 10.12, tvOS 10.0, watchOS 3.0) { return UnfairLock() } #endif return PthreadLock() }
if iOS < 10 , PthreadLock is not work fine.
The text was updated successfully, but these errors were encountered:
also I find. let status = pthread_mutex_trylock(_lock)
let status = pthread_mutex_trylock(_lock)
[ iOS10 ] ----> status == 16 [ iOS8 ] ----> status == 11
public var EDEADLK: Int32 { get } /* Resource deadlock avoided */ /* 11 was EAGAIN */
I don't understand this comment....
if status == 11 , it will Execution assertionFailure
Sorry, something went wrong.
I add -O in [Build setting- > Other Swift Flags] ignore assertionFailure , fix this issues...
pthread_mutex_trylock
No branches or pull requests
ReactSwift :4.0 + or 5.0 +
Xcode:10.1
device:iOS8 5s
if iOS < 10 , PthreadLock is not work fine.
The text was updated successfully, but these errors were encountered: