Changeset 92861 in vbox for trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
- Timestamp:
- Dec 10, 2021 1:25:55 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r92859 r92861 375 375 case CTRL_C_EVENT: 376 376 ASMAtomicWriteBool(&g_fGuestCtrlCanceled, true); 377 RTSemEventSignal(g_SemEventGuestCtrlCanceled); 377 378 fEventHandled = TRUE; 378 379 break; … … 394 395 static void gctlSignalHandler(int iSignal) RT_NOTHROW_DEF 395 396 { 396 NOREF(iSignal);397 RT_NOREF(iSignal); 397 398 ASMAtomicWriteBool(&g_fGuestCtrlCanceled, true); 399 RTSemEventSignal(g_SemEventGuestCtrlCanceled); 398 400 } 399 401 #endif … … 3679 3681 3680 3682 /** @todo Specify categories to watch for. */ 3681 /** @todo Specify a --timeout for waiting only for a certain amount of time? */3682 3683 3683 3684 RTEXITCODE rcExit = gctlCtxPostOptionParsingInit(pCtx); … … 3794 3795 { "closesession", gctlHandleCloseSession, HELP_SCOPE_GSTCTRL_CLOSESESSION, GCTLCMDCTX_F_SESSION_ANONYMOUS | GCTLCMDCTX_F_NO_SIGNAL_HANDLER }, 3795 3796 { "list", gctlHandleList, HELP_SCOPE_GSTCTRL_LIST, GCTLCMDCTX_F_SESSION_ANONYMOUS | GCTLCMDCTX_F_NO_SIGNAL_HANDLER }, 3796 { "watch", gctlHandleWatch, HELP_SCOPE_GSTCTRL_WATCH, GCTLCMDCTX_F_SESSION_ANONYMOUS | GCTLCMDCTX_F_NO_SIGNAL_HANDLER},3797 { "watch", gctlHandleWatch, HELP_SCOPE_GSTCTRL_WATCH, GCTLCMDCTX_F_SESSION_ANONYMOUS }, 3797 3798 3798 3799 {"updateguestadditions",gctlHandleUpdateAdditions, HELP_SCOPE_GSTCTRL_UPDATEGA, GCTLCMDCTX_F_SESSION_ANONYMOUS },
Note:
See TracChangeset
for help on using the changeset viewer.