VirtualBox

Changeset 55577 in vbox


Ignore:
Timestamp:
May 1, 2015 1:14:44 AM (9 years ago)
Author:
vboxsync
Message:

VBoxServiceControlSession.cpp/comment: There is no 'forking' going on here in the unix sense of the word, we're doing it the DOS way by spawning a new process.

File:
1 edited

Legend:

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

    r55576 r55577  
    18531853        AssertRC(rc);
    18541854
    1855         /* Fork child doing the actual session handling. */
     1855        /*
     1856         * Spawn a child process for doing the actual session handling.
     1857         */
    18561858        char szExeName[RTPATH_MAX];
    18571859        char *pszExeName = RTProcGetExecutablePath(szExeName, sizeof(szExeName));
     
    18831885                rc = VERR_BUFFER_OVERFLOW;
    18841886            }
    1885 #endif /* DEBUG */
     1887#endif
    18861888            if (RT_SUCCESS(rc))
    18871889            {
     
    18951897#ifdef DEBUG
    18961898                papszArgs[iOptIdx++] = szParmThreadId;
    1897 #endif /* DEBUG */
     1899#endif
    18981900                if (!fAnonymous)
    18991901                    papszArgs[iOptIdx++] = szParmUserName;
     
    19341936                            rc2 = VERR_NO_MEMORY;
    19351937                        }
    1936 #else
     1938#else /* DEBUG */
    19371939                        /* Include the session thread ID in the log file name. */
    19381940                        if (RTStrAPrintf(&pszLogNewSuffix, "-%RU32-%RU32-%s",
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