VirtualBox

Changeset 61654 in vbox for trunk


Ignore:
Timestamp:
Jun 10, 2016 12:30:04 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108005
Message:

Additions/VBoxClient: don't block the DnD service when VBoxClient is terminated

File:
1 edited

Legend:

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

    r60981 r61654  
    32103210    LogRel2(("DnD: Terminating threads ...\n"));
    32113211
     3212    ASMAtomicXchgBool(&m_fSrvStopping, true);
     3213
    32123214    /*
    32133215     * Wait for threads to terminate.
     
    32163218    if (m_hHGCMThread != NIL_RTTHREAD)
    32173219    {
     3220#if 0 /** @todo Does not work because we don't cancel the HGCM call! */
    32183221        rc2 = RTThreadWait(m_hHGCMThread, 30 * 1000 /* 30s timeout */, &rcThread);
     3222#else
     3223        rc2 = RTThreadWait(m_hHGCMThread, 200 /* 200ms timeout */, &rcThread);
     3224#endif
    32193225        if (RT_SUCCESS(rc2))
    32203226            rc2 = rcThread;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette