RE: Distributed Objects and thread cleanup
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