Changeset 12540 for trunk/FACT++/src/ConnectionUSB.cc
- Timestamp:
- 11/16/11 21:55:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ConnectionUSB.cc
r12236 r12540 205 205 // functions directly from any other place then Handlers, use 206 206 // PostMessage instead 207 fOutQueue.pop_front(); 207 if (!fOutQueue.empty()) 208 fOutQueue.pop_front(); 208 209 209 210 if (fOutQueue.empty()) … … 214 215 } 215 216 216 // AsyncWrite + Deadline217 // AsyncWrite + Deadline 217 218 AsyncWrite(ba::const_buffers_1(fOutQueue.front().data(), fOutQueue.front().size())/*, &ConnectionUSB::HandleSentData*/); 218 219 AsyncWait(fOutTimeout, 5000, &ConnectionUSB::HandleWriteTimeout);
Note:
See TracChangeset
for help on using the changeset viewer.