• 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: "Alex Esplin" <email@hidden>
  • Date: Thu, 15 May 2008 00:02:48 -0600

On Wed, May 14, 2008 at 11:26 PM, Ken Thomases <email@hidden> wrote:
> On May 15, 2008, at 12:15 AM, Alex Esplin wrote:
>>
>> Everything compiles, and when I run it, the Console tells me that
>> debugging completed normally.  However, I'm getting nothing in the way
>> of output from any of the threads:
>
> Is your main function waiting for the threads to complete, or is it just
> exiting?  When your main function returns, there's an implicit exit() call
> and your whole process exits.  There's no implicit waiting for all threads
> to complete.

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...

--
Alex Esplin
_______________________________________________

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: any help with [NSThread initWithTarget:selector:object]???
      • From: Michael Vannorsdel <email@hidden>
    • Re: any help with [NSThread initWithTarget:selector:object]???
      • From: Ken Thomases <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>)

  • Prev by Date: Re: Bypassing Interface Builder
  • Next by Date: Re: Bypassing Interface Builder
  • Previous by thread: Re: any help with [NSThread initWithTarget:selector:object]???
  • Next by thread: Re: any help with [NSThread initWithTarget:selector:object]???
  • Index(es):
    • Date
    • Thread