Changeset 25130 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Dec 1, 2009 3:58:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvNAT.cpp
r25125 r25130 249 249 PDRVNAT pThis = PDMINS_2_DATA(pDrvIns, PDRVNAT); 250 250 int rc; 251 if (ASMAtomicReadU32(&pThis->cPkt) > 0) 252 { 253 rc = RTSemEventSignal(pThis->EventRecv); 254 } 251 rc = RTSemEventSignal(pThis->EventRecv); 255 252 256 253 STAM_COUNTER_INC(&pThis->StatNATRecvWakeups); … … 279 276 { 280 277 PDRVNAT pThis = PDMINS_2_DATA(pDrvIns, PDRVNAT); 281 if (ASMAtomicReadU32(&pThis->cUrgPkt) > 0) 282 { 283 int rc = RTSemEventSignal(pThis->EventUrgRecv); 284 AssertRC(rc); 285 } 278 int rc = RTSemEventSignal(pThis->EventUrgRecv); 279 AssertRC(rc); 286 280 287 281 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.