[TIMOB-28259] iOS: Replace OSSpinLock usage with os_unfair_lock
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | Release 10.0.0 |
Components | n/a |
Labels | ios |
Reporter | Vijay Singh |
Assignee | Vijay Singh |
Created | 2020-11-25T22:10:27.000+0000 |
Updated | 2020-12-11T13:41:08.000+0000 |
Description
OSSpinLock has deprecated in iOS 10 with replacement of os_unfair_lock.
In TitaniumKit framework, OSSpinLock is used many place for synchronization, which gives warning.
Replace OSSpinLock with [os_unfair_lock](https://developer.apple.com/documentation/os/synchronization).
PR - https://github.com/appcelerator/titanium_mobile/pull/12307 @QE - To test try to run kitchen-sink app. It should work properly.
Verified Improvement in SDK version
10.0.0.v20201211050622
Tested using the KS test app. **Test Environment**