Re: IONotificationPortRef cleanup
Subject : Re: IONotificationPortRef cleanup
From: Steve Checkoway <email@hidden >
Date: Tue, 10 Jan 2006 14:44:40 -0800
Delivered-to: email@hidden
Delivered-to: email@hidden
On Jan 10, 2006, at 2:35 PM, Chris Sarcone wrote:
To be completely clear about this, these leaked ports are not
reclaimed when the application exits?
Mach will clean them up for you at task termination. However,
whenever you don't need the resource, you should do the proper
thing to release it.
Thank you for the clarification. It seems to me that the example
should be changed to simply _exit(2) since the ports will be cleaned up.
- Steve Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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.