Skip to content
This repository was archived by the owner on Dec 27, 2025. It is now read-only.

@CreaterOS Modify the spin lock method and change Apple's abandonment of OSSpinkLock#175

Open
CreaterOS wants to merge 2 commits intosteipete:masterfrom
CreaterOS:master
Open

@CreaterOS Modify the spin lock method and change Apple's abandonment of OSSpinkLock#175
CreaterOS wants to merge 2 commits intosteipete:masterfrom
CreaterOS:master

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant