Changeset 25607 in vbox for trunk/src/VBox/Runtime/include
- Timestamp:
- Dec 31, 2009 1:21:39 PM (15 years ago)
- Location:
- trunk/src/VBox/Runtime/include/internal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/lockvalidator.h
r25602 r25607 41 41 * Record union for simplifying internal processing. 42 42 */ 43 typedef union RTLOCKVAL IDATORRECUNION43 typedef union RTLOCKVALRECUNION 44 44 { 45 RTLOCKVAL IDATORRECCORE Core;46 RTLOCKVAL IDATORRECExcl;47 RTLOCKVAL IDATORSHAREDShared;48 RTLOCKVAL IDATORSHAREDONE SharedOne;49 } RTLOCKVAL IDATORRECUNION;45 RTLOCKVALRECCORE Core; 46 RTLOCKVALRECEXCL Excl; 47 RTLOCKVALRECSHRD Shared; 48 RTLOCKVALRECSHRDOWN SharedOwn; 49 } RTLOCKVALRECUNION; 50 50 51 51 … … 58 58 { 59 59 /** What we're blocking on. */ 60 PRTLOCKVAL IDATORRECUNION volatilepRec;60 PRTLOCKVALRECUNION volatile pRec; 61 61 /** Where we are blocking. */ 62 RTLOCKVAL IDATORSRCPOSSrcPos;62 RTLOCKVALSRCPOS SrcPos; 63 63 /** Number of registered write locks, mutexes and critsects that this thread owns. */ 64 int32_t volatile 64 int32_t volatile cWriteLocks; 65 65 /** Number of registered read locks that this thread owns, nesting included. */ 66 int32_t volatile 66 int32_t volatile cReadLocks; 67 67 } RTLOCKVALIDATORPERTHREAD; 68 68 -
trunk/src/VBox/Runtime/include/internal/magics.h
r25491 r25607 68 68 #define RTLOCALIPCSESSION_MAGIC 0x19530414 69 69 /** The magic value for RTLOCKVALIDATORREC::u32Magic. (Vladimir Vladimirovich Nabokov) */ 70 #define RTLOCKVAL IDATORREC_MAGIC0x1899042270 #define RTLOCKVALRECEXCL_MAGIC 0x18990422 71 71 /** The dead magic value for RTLOCKVALIDATORREC::u32Magic. */ 72 #define RTLOCKVAL IDATORREC_MAGIC_DEAD0x1977070273 /** The magic value for RTLOCKVAL IDATORSHARED::u32Magic. (Agnar Mykle) */74 #define RTLOCKVAL IDATORSHARED_MAGIC0x1915080875 /** The magic value for RTLOCKVAL IDATORSHARED::u32Magic after deletion. */76 #define RTLOCKVAL IDATORSHARED_MAGIC_DEAD0x1994011577 /** The magic value for RTLOCKVAL IDATORSHAREDONE::u32Magic. (Jens Ingvald Bjoerneboe) */78 #define RTLOCKVAL IDATORSHAREDONE_MAGIC0x1920100979 /** The magic value for RTLOCKVAL IDATORSHAREDONE::u32Magic after deletion. */80 #define RTLOCKVAL IDATORSHAREDONE_MAGIC_DEAD 0x1976050972 #define RTLOCKVALRECEXCL_MAGIC_DEAD 0x19770702 73 /** The magic value for RTLOCKVALRECSHRD::u32Magic. (Agnar Mykle) */ 74 #define RTLOCKVALRECSHRD_MAGIC 0x19150808 75 /** The magic value for RTLOCKVALRECSHRD::u32Magic after deletion. */ 76 #define RTLOCKVALRECSHRD_MAGIC_DEAD 0x19940115 77 /** The magic value for RTLOCKVALRECSHRDOWN::u32Magic. (Jens Ingvald Bjoerneboe) */ 78 #define RTLOCKVALRECSHRDOWN_MAGIC 0x19201009 79 /** The magic value for RTLOCKVALRECSHRDOWN::u32Magic after deletion. */ 80 #define RTLOCKVALRECSHRDOWN_MAGIC_DEAD 0x19760509 81 81 /** Magic number for RTMEMCACHEINT::u32Magic. (Joseph Weizenbaum) */ 82 82 #define RTMEMCACHE_MAGIC 0x19230108
Note:
See TracChangeset
for help on using the changeset viewer.