Changeset 90673 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Aug 12, 2021 9:30:36 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 146285
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PDMAllCritSectRw.cpp
r90672 r90673 51 51 * Defined Constants And Macros * 52 52 *********************************************************************************************************************************/ 53 #if 0 /* unused */ 53 54 /** The number loops to spin for shared access in ring-3. */ 54 55 #define PDMCRITSECTRW_SHRD_SPIN_COUNT_R3 20 … … 64 65 /** The number loops to spin for exclusive access in the raw-mode context. */ 65 66 #define PDMCRITSECTRW_EXCL_SPIN_COUNT_RC 256 67 #endif 66 68 67 69 /** Max number of write or write/read recursions. */ … … 267 269 # endif 268 270 269 /*270 * Wait for the direction to switch.271 */272 271 for (uint32_t iLoop = 0; ; iLoop++) 273 272 { 273 /* 274 * Wait for the direction to switch. 275 */ 274 276 int rc; 275 277 # ifdef IN_RING3 … … 400 402 401 403 /* 402 * Get cracking...404 * Work the state. 403 405 */ 404 406 uint64_t u64State = PDMCRITSECTRW_READ_STATE(&pThis->s.Core.u.s.u64State); 405 407 uint64_t u64OldState = u64State; 406 407 408 for (;;) 408 409 {
Note:
See TracChangeset
for help on using the changeset viewer.