VirtualBox

Changeset 67722 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jun 30, 2017 10:18:44 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116570
Message:

glue/AutoLock: Adding isReadLockedOnCurrentThread method for debug assertions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/AutoLock.h

    r67721 r67722  
    270270     * @note Use with care, simple debug assertions and similar only.
    271271     */
    272     bool isReadLockedOnCurrentThread(bool fWannaHear = true)
     272    bool isReadLockedOnCurrentThread(bool fWannaHear = true) const
    273273    {
    274274        LockHandle *h = lockHandle();
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette