• 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: waiting for an NSThread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: waiting for an NSThread


  • Subject: Re: waiting for an NSThread
  • From: Benjamin Stiglitz <email@hidden>
  • Date: Mon, 13 Oct 2008 15:15:22 -0400
  • Mail-followup-to: email@hidden

> I've another n00b Cocoa question: How can I wait for a thread to finish
> without depending on a flag that may be reset and set before the thread
> i'm waiting for has time to check it?

Take a look at NSConditionLock in Foundation.

-Ben
_______________________________________________

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: 
 >waiting for an NSThread (From: John Zorko <email@hidden>)

  • Prev by Date: MEETING: Chicago CocoaHeads/CAWUG Tuesday Oct 14th
  • Next by Date: Re: waiting for an NSThread
  • Previous by thread: Re: waiting for an NSThread
  • Next by thread: NSComboBox, bindings, and auto-complete, oh my!
  • Index(es):
    • Date
    • Thread