VirtualBox

Ignore:
Timestamp:
Aug 27, 2009 10:13:42 AM (15 years ago)
Author:
vboxsync
Message:

VBoxService: Added command execution thread (only used for sysprep spawning used by the VDI guys yet).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp

    r21218 r22503  
    8585    { &g_VMInfo, NIL_RTTHREAD, false, false, false, true },
    8686#endif
     87#ifdef VBOXSERVICE_VMEXEC
     88    { &g_VMExec, NIL_RTTHREAD, false, false, false, true },
     89#endif
    8790};
    8891
     
    321324        VBoxServiceVerbose(1, "Starting '%s' in the main thread\n", g_aServices[iMain].pDesc->pszName);
    322325        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        }
    324330    }
    325331
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette