Re: How to noify the framework when application closes
Re: How to noify the framework when application closes
- Subject: Re: How to noify the framework when application closes
- From: John Davidorff Pell <email@hidden>
- Date: Sat, 21 Jan 2006 23:19:17 -0800
Where are you allocating the memory? In the kernel? If its inside
user space (which it would be if you just malloc() it in the
framework, then it will be disposed of upon any termination (abnormal
or otherwise).
JP
On 16 Jan 2006, at 01:58, rohit dhamija wrote:
Hi All,
I have build an framework for accessing the usb bulk storage device
using iokit.framework. Multiple applications can access the device
using this framework.
For each application accessing the device, the framework allocates
some memory. Now, I need to free this memory when ever the
application:
a. Closes decently
b. Abnornal termination
So is there any way that I can notify the framework that the
application has been closed ?
Is giving notification to the framework through signals the right
way ? If yes, then how ?
Please suggest.
--
Rohit Dhamija(M) 9818446545
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
--
"... was it a dream where you see yourself standing in sort-of Sun-
God robes, on a pyramid, with a thousand naked women screaming and
throwing little pickles at you? ... Why am I the only one who has
that dream?"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden