Changeset 97268 in vbox for trunk/include/VBox
- Timestamp:
- Oct 24, 2022 7:52:46 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/HGCMMock.h
r97256 r97268 182 182 * queue change. */ 183 183 RTSEMEVENT hEventQueue; 184 /** Event semaphore for waiting on events, such 185 * as clients connecting. */ 186 RTSEMEVENT hEventWait; 184 /** Event semaphore for clients connecting to the server. */ 185 RTSEMEVENT hEventConnect; 187 186 /** Number of current host calls being served. 188 187 * Currently limited to one call at a time. */ … … 299 298 ASMAtomicIncU32(&pSvc->uNextClientId); 300 299 300 rc2 = RTSemEventSignal(pSvc->hEventConnect); 301 AssertRCReturn(rc2, rc2); 302 301 303 *pidClient = pClient->idClient; 302 304 … … 554 556 PTSTHGCMMOCKCLIENT TstHgcmMockSvcWaitForConnectEx(PTSTHGCMMOCKSVC pSvc, RTMSINTERVAL msTimeout) 555 557 { 556 int rc = RTSemEventWait(pSvc->hEvent Wait, msTimeout);558 int rc = RTSemEventWait(pSvc->hEventConnect, msTimeout); 557 559 if (RT_SUCCESS(rc)) 558 560 { … … 594 596 if (RT_SUCCESS(rc)) 595 597 { 596 rc = RTSemEventCreate(&pSvc->hEvent Wait);598 rc = RTSemEventCreate(&pSvc->hEventConnect); 597 599 if (RT_SUCCESS(rc)) 598 600 { … … 620 622 rc = RTSemEventDestroy(pSvc->hEventHostCall); 621 623 if (RT_SUCCESS(rc)) 622 RTSemEventDestroy(pSvc->hEvent Wait);624 RTSemEventDestroy(pSvc->hEventConnect); 623 625 } 624 626 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.