Changeset 39550 in vbox for trunk/src/VBox/Runtime/include
- Timestamp:
- Dec 7, 2011 8:28:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/req.h
r39545 r39550 64 64 /** Set if the event semaphore is clear. */ 65 65 volatile bool fEventSemClear; 66 /** Set if the push back semaphore should be signaled when the request 67 * is picked up from the queue. */ 68 volatile bool fSignalPushBack; 66 69 /** Set if pool, clear if queue. */ 67 70 volatile bool fPoolOrQueue; … … 70 73 /** Request state. */ 71 74 volatile RTREQSTATE enmState; 75 /** The reference count. */ 76 volatile uint32_t cRefs; 72 77 73 78 /** Pointer to the next request in the chain. */ … … 80 85 /** Pointer to the queue this packet belongs to. */ 81 86 RTREQQUEUE hQueue; 87 /** Opaque owner access. */ 88 void *pv; 82 89 } uOwner; 83 90 … … 138 145 139 146 /** Pointer to an internal queue instance. */ 140 typedef RTREQQUEUEINT *PRTREQQUEUEINT; 147 typedef struct RTREQQUEUEINT *PRTREQQUEUEINT; 148 /** Pointer to a request thread pool instance. */ 149 typedef struct RTREQPOOLINT *PRTREQPOOLINT; 141 150 142 151 152 /* req.cpp */ 153 DECLHIDDEN(int) rtReqAlloc(RTREQTYPE enmType, bool fPoolOrQueue, void *pvOwner, PRTREQ *phReq); 154 DECLHIDDEN(int) rtReqReInit(PRTREQINT pReq, RTREQTYPE enmType); 155 DECLHIDDEN(void) rtReqFreeIt(PRTREQINT pReq); 156 DECLHIDDEN(int) rtReqProcessOne(PRTREQ pReq); 143 157 144 DECLHIDDEN(int) rtReqProcessOne(PRTREQ pReq); 158 /* reqpool.cpp / reqqueue.cpp. */ 159 DECLHIDDEN(void) rtReqQueueSubmit(PRTREQQUEUEINT pQueue, PRTREQINT pReq); 160 DECLHIDDEN(void) rtReqPoolSubmit(PRTREQPOOLINT pPool, PRTREQINT pReq); 161 DECLHIDDEN(bool) rtReqQueueRecycle(PRTREQQUEUEINT pQueue, PRTREQINT pReq); 162 DECLHIDDEN(bool) rtReqPoolRecycle(PRTREQPOOLINT pPool, PRTREQINT pReq); 145 163 146 164 RT_C_DECLS_END
Note:
See TracChangeset
for help on using the changeset viewer.