- Timestamp:
- Jul 20, 2010 4:56:09 PM (14 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/magics.h
r30712 r30935 103 103 /** Magic for the event semaphore structure. (Neil Gaiman) */ 104 104 #define RTSEMEVENT_MAGIC UINT32_C(0x19601110) 105 /** Dead magic value for event semaphore structures. */106 #define RTSEMEVENT_MAGIC_DEAD UINT32_C(0x19930517)107 105 /** Magic for the multiple release event semaphore structure. (Isaac Asimov) */ 108 106 #define RTSEMEVENTMULTI_MAGIC UINT32_C(0x19200102) -
trunk/src/VBox/Runtime/r0drv/solaris/semevent-r0drv-solaris.c
r30933 r30935 119 119 ASMAtomicDecU32(&pThis->cRefs); 120 120 121 pThis->u32Magic = RTSEMEVENT_MAGIC_DEAD; /* make the handle invalid */121 pThis->u32Magic = ~RTSEMEVENT_MAGIC; /* make the handle invalid */ 122 122 if (pThis->cWaiters > 0) 123 123 {
Note:
See TracChangeset
for help on using the changeset viewer.