Changeset 39500 in vbox for trunk/src/VBox/Runtime/include
- Timestamp:
- Dec 1, 2011 8:26:48 PM (13 years ago)
- Location:
- trunk/src/VBox/Runtime/include/internal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/magics.h
r37396 r39500 111 111 /** RTRANDINT::u32Magic. (Alan Moore) */ 112 112 #define RTRANDINT_MAGIC UINT32_C(0x19531118) 113 /** The value of RTREQ::u32Magic. */ 114 #define RTREQ_MAGIC UINT32_C(0xfeed0001) /**< @todo find a value */ 115 /** The value of RTREQ::u32Magic of a freed request. */ 116 #define RTREQ_MAGIC_DEAD (~RTREQ_MAGIC) 117 /** The value of RTREQPOOLINT::u32Magic. */ 118 #define RTREQPOOL_MAGIC UINT32_C(0xfeed0002)/**< @todo find a value */ 119 /** The value of RTREQPOOLINT::u32Magic after destruction. */ 120 #define RTREQPOOL_MAGIC_DEAD (~RTREQPOOL_MAGIC) 121 /** The value of RTREQQUEUEINT::u32Magic. */ 122 #define RTREQQUEUE_MAGIC UINT32_C(0xfeed0003)/**< @todo find a value */ 123 /** The value of RTREQQUEUEINT::u32Magic after destruction. */ 124 #define RTREQQUEUE_MAGIC_DEAD (~RTREQQUEUE_MAGIC) 113 125 /** The value of RTS3::u32Magic. (Edgar Wallace) */ 114 126 #define RTS3_MAGIC UINT32_C(0x18750401) -
trunk/src/VBox/Runtime/include/internal/req.h
r39499 r39500 37 37 typedef struct RTREQQUEUEINT 38 38 { 39 /** @todo magic */ 39 /** Magic value (RTREQQUEUE_MAGIC). */ 40 uint32_t u32Magic; 41 /** Set if busy (pending or processing requests). */ 42 bool volatile fBusy; 40 43 /** Head of the request queue. Atomic. */ 41 44 volatile PRTREQ pReqs; … … 50 53 */ 51 54 RTSEMEVENT EventSem; 52 /** Set if busy (pending or processing requests). */53 bool volatile fBusy;54 55 } RTREQQUEUEINT; 55 56 … … 58 59 59 60 61 62 DECLHIDDEN(int) rtReqProcessOne(PRTREQ pReq); 63 60 64 RT_C_DECLS_END 61 65
Note:
See TracChangeset
for help on using the changeset viewer.