site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com How does the user land side of the IOUserClient, the io_connect_t, detect that the connection has been closed by the kernel side of the connection? I have an IOUserClient that is created indirectly from a user land process (duh :-). In many situations the IOUserClient is closed by the kernel. This is the disk system, so when the disk is ejected the IOUserClient must be closed. However, the connection on the user land side doesn't really know that this has happened. In fact, the call by the connection seems to work, because the IOUserClient is never free'd by whatever process is supposed to free it. Maybe that is part of my problem. When I need to shutdown the user client from my kext, I call userclient->terminate ( kIOServiceSynchronous). This calls close() on the user client, but I never see a free(). How should this be handled? Thanks for your insight, ...Duane _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Duane Murphy