• 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: Distributed Objects and thread cleanup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed Objects and thread cleanup


  • Subject: Re: Distributed Objects and thread cleanup
  • From: Bill Bumgarner <email@hidden>
  • Date: Wed, 24 Aug 2005 10:09:43 -0700

On Aug 24, 2005, at 9:54 AM, Zameer Andani wrote:
I have a thread that allocates a C++ object on the heap, i was under the impression that when I shutdown the parent-process (ie. terminate the application), the thread's dealloc will be called. I am ofcourse, not seeing this behavior.

When a process exits, all memory -- including memory allocated by threads -- is released. You will not see free() or dealloc() calls on the objects. This happens in the VM subsystem, well below malloc ()/free().


b.bum
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Distributed Objects and thread cleanup (From: "Zameer Andani" <email@hidden>)

  • Prev by Date: Distributed Objects and thread cleanup
  • Next by Date: RE: Distributed Objects and thread cleanup
  • Previous by thread: Distributed Objects and thread cleanup
  • Next by thread: RE: Distributed Objects and thread cleanup
  • Index(es):
    • Date
    • Thread