Changeset 73243 in vbox for trunk/src/VBox/Devices/Serial/DrvCharNew.cpp
- Timestamp:
- Jul 19, 2018 3:08:34 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DrvCharNew.cpp
r72117 r73243 231 231 AssertRC(rc); 232 232 233 ASMAtomicSubZ(&pThis->cbAvailWr, cbFetched); 234 pThis->cbTxUsed += cbFetched; 233 if (cbFetched > 0) 234 { 235 ASMAtomicSubZ(&pThis->cbAvailWr, cbFetched); 236 pThis->cbTxUsed += cbFetched; 237 } 238 else 239 { 240 /* The guest reset the send queue and there is no data available anymore. */ 241 pThis->cbAvailWr = 0; 242 } 235 243 } 236 244
Note:
See TracChangeset
for help on using the changeset viewer.