thanks!

On Mon, Sep 14, 2009 at 3:26 PM, Jens Alfke <j...@mooseyard.com> wrote:

>
> On Sep 14, 2009, at 11:54 AM, Edward Chan wrote:
>
>  Would mythread be considered garbage and be collected even though it
>> hasn't
>> finished running? If so, would it be cancelled first? Or would it just get
>> killed?
>>
>
> Threads aren't garbage collected; they're implemented at a lower level. (Or
> you can think of it as that the thread scheduler always has a reference to
> all live threads.) They'll remain in existence until they exit or are
> explicitly killed.
>
> —Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to