Changeset 51940 in vbox for trunk/include/iprt
- Timestamp:
- Jul 8, 2014 5:45:51 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94833
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/critsect.h
r45151 r51940 108 108 * might or might not require entering a critical section before access. */ 109 109 #define RTCRITSECT_FLAGS_NOP UINT32_C(0x00000008) 110 /** Indicates that this is a ring-0 critical section. */ 111 #define RTCRITSECT_FLAGS_RING0 UINT32_C(0x00000010) 110 112 /** @} */ 111 113 112 114 113 #if def IN_RING3115 #if defined(IN_RING3) || defined(IN_RING0) 114 116 115 117 /** … … 209 211 RTDECL(int) RTCritSectTryEnterDebug(PRTCRITSECT pCritSect, RTHCUINTPTR uId, RT_SRC_POS_DECL); 210 212 213 #ifdef IN_RING3 /* Crazy APIs: ring-3 only. */ 214 211 215 /** 212 216 * Enter multiple critical sections. … … 248 252 RTDECL(int) RTCritSectEnterMultipleDebug(size_t cCritSects, PRTCRITSECT *papCritSects, RTUINTPTR uId, RT_SRC_POS_DECL); 249 253 254 #endif /* IN_RING3 */ 255 250 256 /** 251 257 * Leave a critical section. … … 285 291 } 286 292 287 #endif /* IN_RING3 */293 #endif /* IN_RING3 || IN_RING0 */ 288 294 289 295 /** … … 455 461 /** @} */ 456 462 457 #if def IN_RING3463 #if defined(IN_RING3) || defined(IN_RING0) 458 464 459 465 /** … … 701 707 RTDECL(uint32_t) RTCritSectRwGetReadCount(PRTCRITSECTRW pThis); 702 708 703 #endif /* IN_RING3 */709 #endif /* IN_RING3 || IN_RING0 */ 704 710 705 711 /**
Note:
See TracChangeset
for help on using the changeset viewer.