Changeset 99966 in vbox for trunk/src/VBox/HostServices/SharedClipboard
- Timestamp:
- May 25, 2023 8:35:13 AM (21 months ago)
- Location:
- trunk/src/VBox/HostServices/SharedClipboard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-win.cpp
r98103 r99966 168 168 { 169 169 PSHCLEVENTPAYLOAD pPayload; 170 rc = ShClEventWait(pEvent, 30 * 1000, &pPayload);170 rc = ShClEventWait(pEvent, VBOX_SHCL_TIMEOUT_DEFAULT_MS, &pPayload); 171 171 if (RT_SUCCESS(rc)) 172 172 { … … 638 638 if (RT_SUCCESS(rc)) 639 639 { 640 int rc2 = RTThreadUserWait(pCtx->hThread, 30 * 1000/* Timeout in ms */);640 int rc2 = RTThreadUserWait(pCtx->hThread, RT_MS_30SEC /* Timeout in ms */); 641 641 AssertRC(rc2); 642 642 } … … 682 682 683 683 /* Wait for the window thread to terminate. */ 684 rc = RTThreadWait(pCtx->hThread, 30 * 1000/* Timeout in ms */, NULL);684 rc = RTThreadWait(pCtx->hThread, RT_MS_30SEC /* Timeout in ms */, NULL); 685 685 if (RT_FAILURE(rc)) 686 686 LogRel(("Shared Clipboard: Waiting for window thread termination failed with rc=%Rrc\n", rc)); -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp
r99953 r99966 288 288 { 289 289 PSHCLEVENTPAYLOAD pPayload; 290 rc = ShClEventWait(pEvent, 30 * 1000, &pPayload);290 rc = ShClEventWait(pEvent, SHCL_TIMEOUT_DEFAULT_MS, &pPayload); 291 291 if (RT_SUCCESS(rc)) 292 292 { … … 469 469 470 470 PSHCLEVENTPAYLOAD pPayload; 471 rc = ShClEventWait(pEvent, 30 * 1000, &pPayload);471 rc = ShClEventWait(pEvent, SHCL_TIMEOUT_DEFAULT_MS, &pPayload); 472 472 if (RT_SUCCESS(rc)) 473 473 { … … 547 547 /* X supplies the data asynchronously, so we need to wait for data to arrive first. */ 548 548 PSHCLEVENTPAYLOAD pPayload; 549 rc = ShClEventWait(pEvent, 30 * 1000, &pPayload);549 rc = ShClEventWait(pEvent, SHCL_TIMEOUT_DEFAULT_MS, &pPayload); 550 550 if (RT_SUCCESS(rc)) 551 551 {
Note:
See TracChangeset
for help on using the changeset viewer.