VirtualBox

Changeset 1674 in vbox


Ignore:
Timestamp:
Mar 23, 2007 1:17:37 PM (18 years ago)
Author:
vboxsync
Message:

Sleep a bit after detecting the client is still connected.

File:
1 edited

Legend:

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

    r1673 r1674  
    343343
    344344            }
    345             if (    hrc != ERROR_SUCCESS
    346                 &&  hrc != ERROR_PIPE_CONNECTED)
     345
     346            if (hrc == ERROR_PIPE_CONNECTED)
     347            {
     348                RTThreadSleep(250);
     349            }
     350            else
     351            if (hrc != ERROR_SUCCESS)
    347352            {
    348353                rc = RTErrConvertFromWin32(hrc);
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