Changeset 8651 in vbox for trunk/src/VBox/Runtime/include
- Timestamp:
- May 7, 2008 12:16:29 PM (17 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/strict.h
r8626 r8651 1 1 /* $Id$ */ 2 2 /** @file 3 * IPRT - Internal Header Defining The Magic Numbers.3 * IPRT - Internal Header Defining Strictness Indicators. 4 4 */ 5 5 … … 29 29 */ 30 30 31 #ifndef ___internal_ magics_h32 #define ___internal_ magics_h31 #ifndef ___internal_strict_h 32 #define ___internal_strict_h 33 33 34 /** @name Magic Numbers.34 /** @name Strictness Indicators 35 35 * @{ */ 36 36 37 /** The value of RTENVINTERNAL::u32Magic. (Rumiko Takahashi) */ 38 #define RTENV_MAGIC 0x19571010 39 /** The value of RTDIR::u32Magic. (Michael Ende) */ 40 #define RTDIR_MAGIC 0x19291112 41 /** The value of RTDIR::u32Magic after RTDirClose(). */ 42 #define RTDIR_MAGIC_DEAD 0x19950829 43 /** Magic number for RTHEAPSIMPLEINTERNAL::u32Magic. (Kyoichi Katayama) */ 44 #define RTHEAPSIMPLE_MAGIC 0x19590105 45 /** The magic value for RTLDRMODINTERNAL::u32Magic. (Alan Moore) */ 46 #define RTLDRMOD_MAGIC 0x19531118 47 /** Magic number for heap blocks. (Edgar Allan Poe) */ 48 #define RTMEMHDR_MAGIC 0x18090119 49 /** RTR0MEMOBJ::u32Magic. (Masakazu Katsura) */ 50 #define RTR0MEMOBJ_MAGIC 0x19611210 51 /** Magic for the event semaphore structure. (Neil Gaiman) */ 52 #define RTSEMEVENT_MAGIC 0x19601110 53 /** Magic for the multiple release event semaphore structure. (Isaac Asimov) */ 54 #define RTSEMEVENTMULTI_MAGIC 0x19200102 55 /** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. (John Ronald Reuel Tolkien) */ 56 #define RTSEMFASTMUTEX_MAGIC 0x18920102 57 /** Dead magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. */ 58 #define RTSEMFASTMUTEX_MAGIC_DEAD 0x19730902 59 /** Magic for the mutex semaphore structure. (Douglas Adams) */ 60 #define RTSEMMUTEX_MAGIC 0x19520311 61 /** Dead magic for the mutex semaphore structure. */ 62 #define RTSEMMUTEX_MAGIC_DEAD 0x20010511 63 /** RTSEMRWINTERNAL::u32Magic value. (Kosuke Fujishima) */ 64 #define RTSEMRW_MAGIC 0x19640707 65 /** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */ 66 #define RTSPINLOCK_MAGIC 0x19480428 67 /** The value of RTSTREAM::u32Magic for a valid stream. */ 68 #define RTSTREAM_MAGIC 0xe44e44ee 69 /** RTTHREADINT::u32Magic value. (Gilbert Keith Chesterton) */ 70 #define RTTHREADINT_MAGIC 0x18740529 71 /** RTTHREADINT::u32Magic value for a dead thread. */ 72 #define RTTHREADINT_MAGIC_DEAD 0x19360614 73 /** Magic number for timer handles. (Jared Mason Diamond) */ 74 #define RTTIMER_MAGIC 0x19370910 37 /** @def RTCRITSECT_STRICT 38 * Enables strictness checks and lock accounting of the RTCritSect API. 39 */ 40 #if defined(DOXYGEN_RUNNING) || (!defined(RTCRITSECT_STRICT) && (defined(RT_STRICT) || defined(RT_LOCK_STRICT))) 41 # define RTCRITSECT_STRICT 42 #endif 43 44 /** @def RTSEMMUTEX_STRICT 45 * Enables strictness checks and lock accounting of the RTSemMutex API. 46 */ 47 #if defined(DOXYGEN_RUNNING) || (!defined(RTSEMMUTEX_STRICT) && (defined(RT_STRICT) || defined(RT_LOCK_STRICT) || defined(RTSEM_STRICT))) 48 # define RTSEMMUTEX_STRICT 49 #endif 50 51 /** @def RTSEMRW_STRICT 52 * Enables strictness checks and lock accounting of the RTSemRW API. 53 */ 54 #if defined(DOXYGEN_RUNNING) || (!defined(RTSEMRW_STRICT) && (defined(RT_STRICT) || defined(RT_LOCK_STRICT) || defined(RTSEM_STRICT))) 55 # define RTSEMRW_STRICT 56 #endif 57 75 58 76 59 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.