VirtualBox

Changeset 38641 in vbox


Ignore:
Timestamp:
Sep 5, 2011 2:43:10 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73848
Message:

Main: fix possible dead-lock between IMedium::RefreshState and IMedium::Reset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MediumImpl.cpp

    r38499 r38641  
    29222922        }
    29232923
     2924        /* Temporary leave this lock, cause IMedium::LockWrite, will wait for
     2925         * an running IMedium::queryInfo. If there is one running it might be
     2926         * it tries to acquire a MediaTreeLock as well -> dead-lock. */
     2927        multilock.leave();
    29242928        rc = pMediumLockList->Lock();
     2929        multilock.enter();
    29252930        if (FAILED(rc))
    29262931        {
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