The below is an off-site archive of all tweets posted by @mjtsai ever

March 7th, 2014

@ddribin @brentsimmons Yeah, I think NSConditionLock or a semaphore would be simplest.

via Tweetbot for Mac in reply to ddribin

@brentsimmons Agreed. (And someMethod does not have to be main thread only.)

via Tweetbot for iOS in reply to brentsimmons

@brentsimmons Perhaps worth noting that you can’t use NSLock for that pattern because unlock would be in a different thread than lock.

via Tweetbot for Mac in reply to brentsimmons