Re: IOObjectRelease: passing null? threadsafe?
Re: IOObjectRelease: passing null? threadsafe?
- Subject: Re: IOObjectRelease: passing null? threadsafe?
- From: Garth Cummings <email@hidden>
- Date: Wed, 22 Oct 2008 10:59:12 -0700
Hi Sean,
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.
--gc
____________________________________________________________________
Garth Cummings email@hidden
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden