Le 5 nov. 2010 à 08:29, Oleg Krupnov a écrit : > Hi, > > I've got a couple of questions: > > 1. What happens if I send a message via -performSelector:onThread: > from one thread to another, before the other thread has time to enter > its run loop? Is the message going to be lost? >
IIRC, the message is append in the runloop queue and stays here until the runloop start. > 2. Is there a way to wait and make sure the thread has entered its run > loop? How do I check if a thread has entered its run loop? > -- Jean-Daniel _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com