VirtualBox

Changeset 35080 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Dec 14, 2010 1:46:19 PM (14 years ago)
Author:
vboxsync
Message:

Added todo.

File:
1 edited

Legend:

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

    r35027 r35080  
    354354        g_aServices[j].fStarted = true;
    355355
    356         /* wait for the thread to initialize */
     356        /* Wait for the thread to initialize.
     357         *
     358         * @todo There is a race between waiting and checking
     359         *       the fShutdown flag of a thread here and processing
     360         *       the thread's actual worker loop. If the thread decides
     361         *       to exit the loop before we skipped the fShutdown check
     362         *       below the service will fail to start! */
    357363        RTThreadUserWait(g_aServices[j].Thread, 60 * 1000);
    358364        if (g_aServices[j].fShutdown)
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