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: Eric Albert <email@hidden>
- Date: Mon, 16 Jan 2006 01:09:50 -0800
On Jan 16, 2006, at 1:00 AM, rohit dhamija wrote:
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 ?
This is a question you'd probably be better off asking on the
darwin-dev or darwin-drivers lists. This list is about using Xcode
itself.
I think the answer to this is something like handing a Mach port send
right to your kext and then listening for Mach port death
notifications, but I'm very fuzzy on the details. The folks on those
other lists probably know the answer.
-Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden