Atomic.swift is not work fine in iOS8 & 9
Dcell opened this issue · comments
DDOG commented
DDOG commented
also I find.
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
DDOG commented
I add -O in [Build setting- > Other Swift Flags]
ignore assertionFailure , fix this issues...