• 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: Garbage collecting live threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Garbage collecting live threads


  • Subject: Re: Garbage collecting live threads
  • From: Edward Chan <email@hidden>
  • Date: Mon, 14 Sep 2009 15:33:09 -0400

thanks!

On Mon, Sep 14, 2009 at 3:26 PM, Jens Alfke <email@hidden> 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 (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: 
 >Garbage collecting live threads (From: Edward Chan <email@hidden>)
 >Re: Garbage collecting live threads (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: coding NSNumber in NSArray?
  • Next by Date: Re: coding NSNumber in NSArray?
  • Previous by thread: Re: Garbage collecting live threads
  • Next by thread: authorization services
  • Index(es):
    • Date
    • Thread