VirtualBox

Changeset 1732 in vbox


Ignore:
Timestamp:
Mar 27, 2007 12:59:07 PM (18 years ago)
Author:
vboxsync
Message:

Shutdown fixes.

Location:
trunk/src/VBox/Devices/Serial
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Serial/DrvChar.cpp

    r1722 r1732  
    271271
    272272    pData->fShutdown = true;
    273     RTThreadWait(pData->ReceiveThread, 1000, NULL);
     273    RTThreadWait(pData->ReceiveThread, 5000, NULL);
    274274    if (pData->ReceiveThread != NIL_RTTHREAD)
    275275        LogRel(("Char%d: receive thread did not terminate\n", pDrvIns->iInstance));
  • trunk/src/VBox/Devices/Serial/DrvNamedPipe.cpp

    r1680 r1732  
    551551
    552552        RTFileClose(pData->NamedPipe);
     553        pData->NamedPipe = NIL_RTFILE;
    553554        CloseHandle(pData->OverlappedRead.hEvent);
    554555        CloseHandle(pData->OverlappedWrite.hEvent);
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