Re: Threads and run loops
Re: Threads and run loops
- Subject: Re: Threads and run loops
- From: Vincent Habchi <email@hidden>
- Date: Fri, 5 Nov 2010 09:08:51 +0100
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?
>
> 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?
AFAIK, you are responsible for setting up and launching threads run loop, so that should not be an issue.
Vincent_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden