VirtualBox

Changeset 19140 in vbox for trunk


Ignore:
Timestamp:
Apr 23, 2009 12:16:39 PM (16 years ago)
Author:
vboxsync
Message:

VBoxService/common: Fix for the fix of r46351.

File:
1 edited

Legend:

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

    r19137 r19140  
    553553#endif
    554554    }
    555 
    556 #ifndef RT_OS_WINDOWS
    557     /** @todo Make the main thread responsive to signal so it can shutdown/restart the threads on non-SIGKILL signals. */
    558 
    559     /*
    560      * Start the service, enter the main threads run loop and stop them again when it returns.
    561      */
    562     rc = VBoxServiceStartServices(iMain);
    563     VBoxServiceStopServices();
     555#ifdef RT_OS_WINDOWS
     556    else
     557    {
     558        /* Run the app just like a console one if not daemonized. */
     559#endif
     560        /** @todo Make the main thread responsive to signal so it can shutdown/restart the threads on non-SIGKILL signals. */
     561   
     562        /*
     563         * Start the service, enter the main threads run loop and stop them again when it returns.
     564         */
     565        rc = VBoxServiceStartServices(iMain);
     566        VBoxServiceStopServices();
     567#ifdef RT_OS_WINDOWS
     568    }
    564569#endif
    565570
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