• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Threads and run loops
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Threads and run loops
      • From: Oleg Krupnov <email@hidden>
References: 
 >Threads and run loops (From: Oleg Krupnov <email@hidden>)

  • Prev by Date: Threads and run loops
  • Next by Date: Re: Threads and run loops
  • Previous by thread: Threads and run loops
  • Next by thread: Re: Threads and run loops
  • Index(es):
    • Date
    • Thread