• 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: CPU utilization in Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CPU utilization in Snow Leopard


  • Subject: Re: CPU utilization in Snow Leopard
  • From: Alastair Houghton <email@hidden>
  • Date: Tue, 20 Oct 2009 17:30:28 +0100

On 20 Oct 2009, at 07:41, Graham Cox wrote:

If you need to wait for another thread to finish, use a NSConditionLock to do it properly.

Either that, or if the run loop is required for some other reason, make a custom run loop source and, add it to the run loop and signal it from the other thread. You rarely need to do that, but there are uses for it.


Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

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


References: 
 >Re: CPU utilization in Snow Leopard (From: Shashanka L <email@hidden>)
 >Re: CPU utilization in Snow Leopard (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: CPU utilization in Snow Leopard
  • Next by Date: I don't understand this leak
  • Previous by thread: Re: CPU utilization in Snow Leopard
  • Next by thread: GC Basic questions
  • Index(es):
    • Date
    • Thread