Re: IOObjectRelease: passing null? threadsafe?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi Sean, --gc ____________________________________________________________________ Garth Cummings gcummings@apple.com Sr. Software Engineer Apple Developer Technical Support <http://developer.apple.com/technicalsupport> _______________________________________________ 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... The constant IO_OBJECT_NULL has been in IOKit/IOTypes.h since Tiger. It was added to avoid the void* -> int cast warning that GCC 4.x gives if you try to cast NULL to an io_object_t. This email sent to site_archiver@lists.apple.com
participants (1)
-
Garth Cummings