VirtualBox

Ignore:
Timestamp:
Dec 9, 2009 5:50:26 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55821
Message:

Main: preparation for deadlock detection: clean up autolock classes

File:
1 edited

Legend:

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

    r25149 r25279  
    10371037
    10381038        /* Unlock the appliance for the reading thread */
    1039         appLock.unlock();
     1039        appLock.release();
    10401040        /* Wait until the reading is done, but report the progress back to the
    10411041           caller */
     
    10441044
    10451045        /* Again lock the appliance for the next steps */
    1046         appLock.lock();
     1046        appLock.acquire();
    10471047    }
    10481048    catch(HRESULT aRC)
     
    21042104
    21052105        /* Unlock the appliance for the fs import thread */
    2106         appLock.unlock();
     2106        appLock.release();
    21072107        /* Wait until the import is done, but report the progress back to the
    21082108           caller */
     
    21112111
    21122112        /* Again lock the appliance for the next steps */
    2113         appLock.lock();
     2113        appLock.acquire();
    21142114    }
    21152115    catch(HRESULT aRC)
     
    31263126
    31273127        /* Unlock the appliance for the writing thread */
    3128         appLock.unlock();
     3128        appLock.release();
    31293129        /* Wait until the writing is done, but report the progress back to the
    31303130           caller */
     
    31333133
    31343134        /* Again lock the appliance for the next steps */
    3135         appLock.lock();
     3135        appLock.acquire();
    31363136
    31373137        vrc = RTPathExists(strTmpOvf.c_str()); /* Paranoid check */
Note: See TracChangeset for help on using the changeset viewer.

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