third_party/virtualbox/src/VBox/Additions/common/VBoxService/VBoxServiceControl.cpp
/**
 * Destroys all guest process threads which are still active.
 */
Destroys all guest process threads which are still active.
Destroys all guest process threads which are still active .
static void vgsvcGstCtrlShutdown(void)
{
    VGSvcVerbose(2, "Shutting down ...\n");
    int rc2 = VGSvcGstCtrlSessionThreadDestroyAll(&g_lstControlSessionThreads, 0 );
    if (RT_FAILURE(rc2))
        VGSvcError("Closing session threads failed with rc=%Rrc\n", rc2);
    rc2 = VGSvcGstCtrlSessionClose(&g_Session);
    if (RT_FAILURE(rc2))
        VGSvcError("Closing session failed with rc=%Rrc\n", rc2);
    VGSvcVerbose(2, "Shutting down complete\n");
}
static void vgsvcGstCtrlShutdown ( void ) { VGSvcVerbose ( 2 , " \n " ) ; int rc2 = VGSvcGstCtrlSessionThreadDestroyAll ( & g_lstControlSessionThreads , 0 ) ; if ( RT_FAILURE ( rc2 ) ) VGSvcError ( " \n " , rc2 ) ; rc2 = VGSvcGstCtrlSessionClose ( & g_Session ) ; if ( RT_FAILURE ( rc2 ) ) VGSvcError ( " \n " , rc2 ) ; VGSvcVerbose ( 2 , " \n " ) ; }
Destroys all guest process threads which are still active.
Destroys all guest process threads which are still active .
/* Flags */