VirtualBox

Ignore:
Timestamp:
Nov 12, 2020 10:15:18 AM (4 years ago)
Author:
vboxsync
Message:

Additions/VBoxClient: Big revamp of the internal service handling and termination fixes. A service now runs as part of a worker thread, while the main thread is used for initialization / shutdown and signal handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/testcase/tstSeamlessX11.cpp

    r82968 r86871  
    5858
    5959    exit(1);
     60}
     61
     62void VBClLogVerbose(unsigned iLevel, const char *pszFormat, ...)
     63{
     64    RT_NOREF(iLevel);
     65
     66    va_list va;
     67    va_start(va, pszFormat);
     68    RTPrintf("%s", pszFormat);
     69    va_end(va);
    6070}
    6171
     
    156166        RTPrintf("Failed to initialise seamless Additions, rc = %Rrc\n", rc);
    157167    }
    158     rc = seamless.run();
     168    bool fShutdown = false;
     169    rc = seamless.worker(&fShutdown);
    159170    if (rc != VINF_SUCCESS)
    160171    {
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