VirtualBox

Changeset 48487 in vbox


Ignore:
Timestamp:
Sep 16, 2013 3:01:16 PM (11 years ago)
Author:
vboxsync
Message:

Additions and HostServices: remove unneeded calls to XInitThreads().

Location:
trunk/src/VBox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/load.c

    r48057 r48487  
    982982            crNetFreeConnection(ns.conn);
    983983        }
    984 #if 0 && defined(CR_NEWWINTRACK)
    985         {
    986             Status st = XInitThreads();
    987             if (st==0)
    988             {
    989                 crWarning("XInitThreads returned %i", (int)st);
    990             }
    991         }
    992 #endif
    993984    }
    994985#endif
  • trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp

    r46377 r48487  
    15481548    int rc = VINF_SUCCESS;
    15491549    LogRelFlowFunc(("\n"));
    1550 
    1551     /* We need to initialize XLib with thread support, otherwise our
    1552      * simultaneously access to the display makes trouble (has to be called
    1553      * before any usage of XLib). */
    1554     if (!XInitThreads())
    1555         AssertMsgFailedReturn(("Failed to initialize thread-safe XLib.\n"), VERR_GENERAL_FAILURE);
    15561550
    15571551    do
  • trunk/src/VBox/Additions/x11/VBoxClient/seamless.cpp

    r44528 r48487  
    3434    virtual int run(bool fDaemonised /* = false */)
    3535    {
    36         /* Initialise threading in X11 and in Xt. */
    37         if (!XInitThreads())
    38         {
    39             LogRel(("VBoxClient: error initialising threads in X11, exiting.\n"));
    40             return VERR_NOT_SUPPORTED;
    41         }
    4236        int rc = mSeamless.init();
    4337        if (RT_FAILURE(rc))
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_glx.c

    r48291 r48487  
    646646    }
    647647
    648     /* enable multi-threading */
    649     XInitThreads();
    650 
    651648    /* setup communication display connection */
    652649    dpyName = renderspuGetDisplayName();
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