Changeset 58106 in vbox for trunk/include/VBox/com/AutoLock.h
- Timestamp:
- Oct 7, 2015 5:07:25 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/AutoLock.h
r56291 r58106 120 120 /** 121 121 * Returns the current write lock level of this semaphore. The lock level 122 * determines the number of nested #lock () calls on the given semaphore123 * handle.122 * determines the number of nested #lockWrite() calls on the given 123 * semaphore handle. 124 124 * 125 125 * Note that this call is valid only when the current thread owns a write … … 522 522 523 523 /** 524 * Release all write locks acquired by this instance through the # lock()524 * Release all write locks acquired by this instance through the #acquire() 525 525 * call and destroys the instance. 526 526 * 527 * Note that if there there are nested # lock() calls without the528 * corresponding number of # unlock() calls when the destructor is called, it527 * Note that if there there are nested #acquire() calls without the 528 * corresponding number of #release() calls when the destructor is called, it 529 529 * will assert. This is because having an unbalanced number of nested locks 530 530 * is a program logic error which must be fixed.
Note:
See TracChangeset
for help on using the changeset viewer.