• 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: "Christopher Hickman" <email@hidden>
  • Date: Wed, 24 Aug 2005 13:11:34 -0400

Would this notification help?

NSThreadWillExitNotification

NSThread posts this notification when it receives the exit message, before
the thread exits. Observer methods invoked to receive this notification
execute in the exiting thread, before it exits.

The notification object is the exiting NSThread. This notification does not
contain a userInfo dictionary.

-----Original Message-----
From: cocoa-dev-bounces+tophu=email@hidden
[mailto:cocoa-dev-bounces+tophu=email@hidden] On Behalf Of Zameer
Andani
Sent: Wednesday, August 24, 2005 12:54 PM
To: email@hidden
Subject: Distributed Objects and thread cleanup

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.

Could anyone perhaps point me in the right direction for more information
regarding termination of NSThreads via Distributed Objects?

thanks

Zameer
 _______________________________________________
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


 _______________________________________________
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: Re: Distributed Objects and thread cleanup
  • Next by Date: canceling or stopping a print job after issuing -runOperation
  • Previous by thread: Re: Distributed Objects and thread cleanup
  • Next by thread: canceling or stopping a print job after issuing -runOperation
  • Index(es):
    • Date
    • Thread