Changeset 74453 in vbox for trunk/src/VBox
- Timestamp:
- Sep 25, 2018 11:15:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DrvChar.cpp
r74447 r74453 212 212 { 213 213 size_t cbOld = 0; 214 ASMAtomicXchgSizeCorrect(&pThis->cbRemaining, 0, &cbOld);214 cbOld = ASMAtomicXchgZ(&pThis->cbRemaining, 0); 215 215 if (cbOld) /* Kick the I/O thread to fetch new data. */ 216 216 rc = pThis->pDrvStream->pfnPollInterrupt(pThis->pDrvStream); … … 218 218 219 219 LogFlowFunc(("-> %Rrc\n", rc)); 220 return VINF_SUCCESS; 220 return VINF_SUCCESS; /** @todo r=bird: return rc? */ 221 221 } 222 222
Note:
See TracChangeset
for help on using the changeset viewer.