VirtualBox

Changeset 25836 in vbox for trunk/include/VBox/com


Ignore:
Timestamp:
Jan 14, 2010 4:44:46 PM (15 years ago)
Author:
vboxsync
Message:

Main: locking order fixes; GUI comes up now with strict locking enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/AutoLock.h

    r25834 r25836  
    6666    LOCKCLASS_USBPROXYSERVICE = 3,          // USB proxy service object lock
    6767    LOCKCLASS_HOSTOBJECT = 4,               // Host object lock
    68     LOCKCLASS_HOSTLIST = 5,                 // lock protecting a list in Host object
    69     LOCKCLASS_OTHEROBJECT = 6,              // any regular object member variable lock
    70     LOCKCLASS_OTHERLIST = 7,                // lock protecting a list that's elsewhere
     68    LOCKCLASS_OTHEROBJECT = 5,              // any regular object member variable lock
     69    LOCKCLASS_OTHERLIST = 6,                // lock protecting a list that's elsewhere
    7170                                            // (e.g. snapshots list in machine object)
    72     LOCKCLASS_OBJECTSTATE = 8               // object state lock (handled by AutoCaller classes)
     71    LOCKCLASS_SNAPSHOTOBJECT = 7,           // snapshot object locks (need to have lower order
     72                                            // than both OTHEROBJECT and OTHERLIST since the list
     73                                            // of snapshots in Machine is OTHERLIST)
     74    LOCKCLASS_USBLIST = 8,                  // temporary hack to avoid having to clean up the USB filters
     75                                            // too much @todo r=dj get rid of this!
     76    LOCKCLASS_OBJECTSTATE = 9               // object state lock (handled by AutoCaller classes)
    7377};
    7478
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