VirtualBox

Changeset 69986 in vbox


Ignore:
Timestamp:
Dec 7, 2017 3:46:42 PM (7 years ago)
Author:
vboxsync
Message:

Runtime/RTSerialPort: POSIX and Windows implementation fixes

Location:
trunk/src/VBox/Runtime/r3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/serialport-posix.cpp

    r69908 r69986  
    473473#endif
    474474
     475    RTThreadUserSignal(hThreadSelf);
     476
    475477    int rcPsx = ioctl(pThis->iFd, TIOCMGET, &fStsLinesOld);
    476478    if (rcPsx == -1)
     
    644646            fPsxFlags |= O_RDWR;
    645647
     648        pThis->u32Magic     = RTSERIALPORT_MAGIC;
    646649        pThis->fOpenFlags   = fFlags;
    647650        pThis->fEvtsPending = 0;
  • trunk/src/VBox/Runtime/r3/win/serialport-win.cpp

    r69982 r69986  
    238238    if (pThis)
    239239    {
     240        pThis->u32Magic         = RTSERIALPORT_MAGIC;
    240241        pThis->fOpenFlags       = fFlags;
    241242        pThis->fEvtMask         = 0;
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