VirtualBox

Changeset 3042 in vbox


Ignore:
Timestamp:
Jun 5, 2007 8:19:27 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
21808
Message:

Fixed waiting for a HGCM thread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/hgcm/HGCMThread.cpp

    r2981 r3042  
    200200    pThread->m_fu32ThreadFlags |= HGCMMSG_TF_TERMINATED;
    201201
     202    hgcmObjDeleteHandle (pThread->Handle ());
     203
    202204    pThread->m_thread = NIL_RTTHREAD;
    203 
    204     hgcmObjDeleteHandle (pThread->Handle ());
    205205
    206206    LogFlow(("MAIN::hgcmWorkerThreadFunc: completed HGCM thread %p\n", pThread));
     
    235235     */
    236236
    237     Assert(m_thread == NIL_RTTHREAD);
     237    Assert(m_fu32ThreadFlags & HGCMMSG_TF_TERMINATED);
    238238
    239239    if (RTCritSectIsInitialized (&m_critsect))
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