• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IOObjectRelease: passing null? threadsafe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: IOObjectRelease: passing null? threadsafe?
      • From: "Sean McBride" <email@hidden>
References: 
 >IOObjectRelease: passing null? threadsafe? (From: "Sean McBride" <email@hidden>)
 >Re: IOObjectRelease: passing null? threadsafe? (From: Terry Lambert <email@hidden>)
 >Re: IOObjectRelease: passing null? threadsafe? (From: "Sean McBride" <email@hidden>)
 >Re: IOObjectRelease: passing null? threadsafe? (From: Terry Lambert <email@hidden>)

  • Prev by Date: Re: rename and POSIX permissions
  • Next by Date: Re: IOObjectRelease: passing null? threadsafe?
  • Previous by thread: Re: IOObjectRelease: passing null? threadsafe?
  • Next by thread: Re: IOObjectRelease: passing null? threadsafe?
  • Index(es):
    • Date
    • Thread