Changeset 22503 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Aug 27, 2009 10:13:42 AM (15 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxService
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk
r21941 r22503 39 39 ifdef VBOX_WITH_GUEST_PROPS 40 40 VBoxService_DEFS += VBOX_WITH_GUEST_PROPS VBOXSERVICE_VMINFO 41 if1of ($(KBUILD_TARGET), win) 42 VBoxService_DEFS += VBOX_WITH_HGCM VBOXSERVICE_VMEXEC 43 endif 41 44 endif 42 45 VBoxService_SOURCES = \ … … 46 49 ifdef VBOX_WITH_GUEST_PROPS 47 50 VBoxService_SOURCES.win = \ 48 VBoxServiceVMInfo-win.cpp 51 VBoxServiceVMInfo-win.cpp \ 52 VBoxServiceExec.cpp 49 53 VBoxService_SOURCES += \ 50 54 VBoxServiceVMInfo.cpp -
trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp
r21218 r22503 85 85 { &g_VMInfo, NIL_RTTHREAD, false, false, false, true }, 86 86 #endif 87 #ifdef VBOXSERVICE_VMEXEC 88 { &g_VMExec, NIL_RTTHREAD, false, false, false, true }, 89 #endif 87 90 }; 88 91 … … 321 324 VBoxServiceVerbose(1, "Starting '%s' in the main thread\n", g_aServices[iMain].pDesc->pszName); 322 325 rc = g_aServices[iMain].pDesc->pfnWorker(&g_fShutdown); 323 VBoxServiceError("Service '%s' stopped unexpected; rc=%Rrc\n", g_aServices[iMain].pDesc->pszName, rc); 326 if (rc != VINF_SUCCESS) /* Only complain if service returned an error. Otherwise the service is a one-timer. */ 327 { 328 VBoxServiceError("Service '%s' stopped unexpected; rc=%Rrc\n", g_aServices[iMain].pDesc->pszName, rc); 329 } 324 330 } 325 331 -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h
r21167 r22503 136 136 extern VBOXSERVICE g_Control; 137 137 extern VBOXSERVICE g_VMInfo; 138 extern VBOXSERVICE g_VMExec; 138 139 139 140 #ifdef RT_OS_WINDOWS
Note:
See TracChangeset
for help on using the changeset viewer.