• 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: any help with [NSThread initWithTarget:selector:object]???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: any help with [NSThread initWithTarget:selector:object]???


  • Subject: Re: any help with [NSThread initWithTarget:selector:object]???
  • From: Michael Vannorsdel <email@hidden>
  • Date: Thu, 15 May 2008 02:09:33 -0600

You might try using pthreads, they're easy to use but not NSThread easy. They have several more options and make the base NSThread is built upon. There's a join option with pthreads where one can wait for another to finish which might be what you're looking for. Look at pthread_join.


On May 15, 2008, at 12:02 AM, Alex Esplin wrote:

Doh.  I knew I had to be missing something trivial.  When you start a
thread with [threadname start] how do you wait for it?  I can't seem
to find anything on that...

_______________________________________________

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: 
 >any help with [NSThread initWithTarget:selector:object]??? (From: "Alex Esplin" <email@hidden>)
 >Re: any help with [NSThread initWithTarget:selector:object]??? (From: Ken Thomases <email@hidden>)
 >Re: any help with [NSThread initWithTarget:selector:object]??? (From: "Alex Esplin" <email@hidden>)

  • Prev by Date: Re: any help with [NSThread initWithTarget:selector:object]???
  • Next by Date: Re: Efficient XML loading [continuation of NSString from mapped NSData thread]
  • Previous by thread: Re: any help with [NSThread initWithTarget:selector:object]???
  • Next by thread: Setting NSObjectController's to file's owner
  • Index(es):
    • Date
    • Thread