Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to noify the framework when application closes



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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.