VirtualBox

Changeset 28212 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Apr 12, 2010 3:04:25 PM (15 years ago)
Author:
vboxsync
Message:

Main/Machine: in ReadLog: release lock early, as the file read can take long

File:
1 edited

Legend:

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

    r28194 r28212  
    49904990                         logFolder.raw(), RTPATH_DELIMITER, aIdx);
    49914991
     4992    /* do not unnecessarily hold the lock while doing something which does
     4993     * not need the lock and potentially takes a long time. */
     4994    alock.leave();
     4995
    49924996    size_t cbData = (size_t)RT_MIN(aSize, 2048);
    49934997    com::SafeArray<BYTE> logData(cbData);
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