Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Threads problems



Ah, thanks.

I've often wondered what detaching threads actually did - the man pages aren't that helpful.

Matt

On 21 Feb 2005, at 17:38, Jonas Maebe wrote:


On 21 feb 2005, at 18:28, Matthew Jenkins wrote:

Is there something fundamental that I'm missing?

Yes, either you should create your threads in a detached state (or detach them inside their runloop), or you should pthread_join() them in the main program.



Jonas

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

Scanned for viruses by MailDefender


Scanned for viruses by MailDefender
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Threads problems (From: Matthew Jenkins <email@hidden>)
 >Re: Threads problems (From: Jonas Maebe <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.