VirtualBox

Changeset 41528 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
May 31, 2012 4:48:33 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78291
Message:

Main/HostUSBDevice(all platforms)+USBProxyService: redo USB locking, fixes major regression, added lots of assertions to catch locking flaws early, whitespace cleanup
Main/Machine: small USB locking fix to be consistent with the remaining code
Main/Host+glue/AutoLock: replace USB list lock by host lock, small numbering cleanup
Main/Console: redo USB locking, do less in USB callbacks/EMT (addresses long standing todo items), eliminate unsafe iterator parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/AutoLock.cpp

    r40452 r41528  
    6666    } aClasses[] =
    6767    {
    68         { LOCKCLASS_VIRTUALBOXOBJECT,   "1-VIRTUALBOXOBJECT" },
     68        { LOCKCLASS_VIRTUALBOXOBJECT,   "2-VIRTUALBOXOBJECT" },
    6969        { LOCKCLASS_HOSTOBJECT,         "3-HOSTOBJECT" },
    7070        { LOCKCLASS_LISTOFMACHINES,     "4-LISTOFMACHINES" },
     
    7575        { LOCKCLASS_LISTOFOTHEROBJECTS, "9-LISTOFOTHEROBJECTS" },
    7676        { LOCKCLASS_OTHEROBJECT,        "10-OTHEROBJECT" },
    77         { LOCKCLASS_USBLIST,            "11-USBLIST" },
    78         { LOCKCLASS_PROGRESSLIST,       "12-PROGRESSLIST" },
    79         { LOCKCLASS_OBJECTSTATE,        "13-OBJECTSTATE" }
     77        { LOCKCLASS_PROGRESSLIST,       "11-PROGRESSLIST" },
     78        { LOCKCLASS_OBJECTSTATE,        "12-OBJECTSTATE" }
    8079    };
    8180
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