VirtualBox

Changeset 48718 in vbox


Ignore:
Timestamp:
Sep 26, 2013 3:26:32 PM (11 years ago)
Author:
vboxsync
Message:

SessionMachine::init: lockWrite() call depends on RT_LOCK_STRICT.

File:
1 edited

Legend:

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

    r48713 r48718  
    1278312783                aMachine->lockHandle()->unlockWrite();
    1278412784                mParent->natNetworkRefInc(name.raw());
    12785                 aMachine->lockHandle()->lockWrite(LOCKVAL_SRC_POS_DECL);
     12785#ifdef RT_LOCK_STRICT
     12786                aMachine->lockHandle()->lockWrite(RT_SRC_POS);
     12787#else
     12788                aMachine->lockHandle()->lockWrite();
     12789#endif
    1278612790            }
    1278712791        }
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