Changeset 80530 in vbox
- Timestamp:
- Sep 1, 2019 11:03:08 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 133037
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/semaphore.h
r76585 r80530 663 663 * 664 664 * @remarks The fast mutexes has sideeffects on IRQL on Windows hosts. So use 665 * with care and test on windows with driver verifier.665 * with care and test on windows with the driver verifier enabled. 666 666 * 667 667 * @{ */ … … 689 689 /** 690 690 * Request ownership of a fast mutex semaphore. 691 *692 * The same thread may request a mutex semaphore multiple times,693 * a nested counter is kept to make sure it's released on the right694 * RTSemMutexRelease() call.695 691 * 696 692 * @returns iprt status code. -
trunk/src/VBox/Runtime/r0drv/nt/semmutex-r0drv-nt.cpp
r76553 r80530 231 231 return pThis->Mutex && pThis->Mutex->Owner != NULL; 232 232 #else 233 return KeReadStateMutex(&pThis->Mutex) == 1;234 #endif 235 } 236 233 return KeReadStateMutex(&pThis->Mutex) == 0; 234 #endif 235 } 236
Note:
See TracChangeset
for help on using the changeset viewer.