Skip to content

Instantly share code, notes, and snippets.

@olbrichj
Created Dec 19, 2017
Embed
What would you like to do?
let lock = NSLock()
lock.lock()
//do something
lock.unlock()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment