VirtualBox

Changeset 25288 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Dec 10, 2009 12:30:09 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55835
Message:

Main: preparation for deadlock detection: make lock instance data private, no more global semaphore IPRT includes

Location:
trunk/src/VBox/Main/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/AutoLock.h

    r25287 r25288  
    2323#define ____H_AUTOLOCK
    2424
    25 #include <iprt/cdefs.h>
    2625#include <iprt/types.h>
    27 #include <iprt/critsect.h>
    28 #include <iprt/thread.h>
    29 #include <iprt/semaphore.h>
    30 
    31 #include <iprt/err.h>
    32 #include <iprt/assert.h>
    33 
    34 #if defined(DEBUG)
    35 # include <iprt/asm.h> // for ASMReturnAddress
    36 #endif
    37 
    38 #include <iprt/semaphore.h>
    3926
    4027namespace util
     
    114101
    115102private:
    116     RTSEMRW mSemRW;
     103    struct Data;
     104    Data *m;
    117105};
    118106
     
    144132
    145133private:
    146     mutable RTCRITSECT mCritSect;
     134    struct Data;
     135    Data *m;
    147136};
    148137
  • trunk/src/VBox/Main/include/RemoteUSBBackend.h

    r14949 r25288  
    2727#include <VBox/vrdpapi.h>
    2828#include <VBox/vrdpusb.h>
     29
     30#include <iprt/critsect.h>
    2931
    3032//typedef enum
  • trunk/src/VBox/Main/include/VirtualBoxBase.h

    r25200 r25288  
    2424
    2525#include <iprt/cdefs.h>
     26#include <iprt/thread.h>
    2627
    2728#include <list>
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