Changeset 28270 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 13, 2010 6:02:46 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60012
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/AutoLock.cpp
r25939 r28270 5 5 6 6 /* 7 * Copyright (C) 2006-20 09Sun Microsystems, Inc.7 * Copyright (C) 2006-2010 Sun Microsystems, Inc. 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 115 115 AutoWriteLock lock2(critsect2 COMMA_LOCKVAL_SRC_POS);*/ 116 116 #endif 117 } 118 119 bool AutoLockHoldsLocksInClass(VBoxLockingClass lockClass) 120 { 121 #ifdef VBOX_WITH_MAIN_LOCK_VALIDATION 122 return RTLockValidatorHoldsLocksInClass(NIL_RTTHREAD, 123 g_mapLockValidationClasses[lockClass]); 124 #else /* !VBOX_WITH_MAIN_LOCK_VALIDATION */ 125 return false; 126 #endif /* !VBOX_WITH_MAIN_LOCK_VALIDATION */ 117 127 } 118 128
Note:
See TracChangeset
for help on using the changeset viewer.