VirtualBox

Changeset 8424 in vbox


Ignore:
Timestamp:
Apr 28, 2008 2:05:54 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30271
Message:

Main/AutoLock: Fixed regression after r30268.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/AutoLock.cpp

    r8421 r8424  
    177177
    178178    bool isWriteLock = mWriteLockLevel != 0;
    179     bool isFirstReadLock = mReadLockCount == 1;
     179    bool isFirstReadLock = mReadLockCount == 0;
    180180
    181181    if (isWriteLock && mWriteLockThread == threadSelf)
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