Skip to content

Conversation

@CreaterOS
Copy link

 os_unfair_lock_t ascpect_lock = &(OS_UNFAIR_LOCK_INIT);
 os_unfair_lock_lock(ascpect_lock);
 block();
 os_unfair_lock_unlock(ascpect_lock);

Modify the spin lock method and change Apple's abandonment of OSSpinkLock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant