Searched defs:critsect (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/HostServices/SharedClipboard/
H A Dservice.cpp78 #include <iprt/critsect.h>
123 static RTCRITSECT critsect; variable
176 return RT_SUCCESS(RTCritSectEnter (&critsect));
181 RTCritSectLeave (&critsect);
297 int rc = RTCritSectInit (&critsect);
310 RTCritSectDelete (&critsect);
320 RTCritSectDelete (&critsect);
/vbox/src/VBox/Main/src-client/
H A DRemoteUSBBackend.cpp117 RTCRITSECT critsect; /* Protects the queued urb list. */ member in struct:_REMOTEUSBDEVICE
125 int rc = RTCritSectEnter(&pDevice->critsect);
131 RTCritSectLeave(&pDevice->critsect);
283 rc = RTCritSectInit(&pDevice->critsect);
351 if (RTCritSectIsInitialized(&pDevice->critsect))
353 RTCritSectDelete(&pDevice->critsect);

Completed in 1570 milliseconds