Yes, I'm being lazy.
What happens when I call performSelector:onThread:...
and pass in a thread that's currently blocked (on synchronous I/O, for instance)? Does the s开发者_如何学JAVAelector just get queued to be executed later?
Yep. I'm pretty sure it gets added to the thread's runloop so it will be performed on the next iteration.
精彩评论