aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/zero_copy.cpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: reworked the zero copy interfaceJosh Blum2010-10-021-78/+43
| | | | | | | | | | | | | | | | - recv buffers have a release call - safe make function for recv buffers (buff + release callback) - send buffer commits now have a void return - safe make function for send buffers (buff + commit callback) The reason for the void return from commit is that ssize_t num_bytes was never returning anything of use. That is for all of the zero copy implementations so far, commit cannot really error (being asynchronous). libusb zero copy impl was reworked to support the new interface. USRP1 io_impl with the psuedo managed buffer was replaced with safe_make. Also, usrp1 io_impl was simplified greatly due to commit returning void now. UDP zero copy asio was disabled (in this commit, until its reworked). Phony send and recv interfaces were removed completely.
* uhd: implemented a double timeout (in seconds) for send and recv chainsJosh Blum2010-10-011-3/+3
| | | | | | | | converted all size_t timeout_ms to double timeout bounded and alignment buffer now take double timeout added timeout to device::send and zero_copy_if::get_send_buff
* uhd: implemented recv timeout for zero copy interfaceJosh Blum2010-09-301-2/+2
|
* uhd: use constructor for impl class to avoid msvc warningsJosh Blum2010-08-061-2/+4
|
* uhd: ssize_t for phony zero copy return types, null sptr for timeout/error ↵Josh Blum2010-07-091-4/+6
| | | | with get managed buffers
* Created macros for dealing with pimpls and implemented in code.Josh Blum2010-06-021-4/+3
|
* Made a phony zero-copy interface for those interfaces that are actual ↵Josh Blum2010-05-281-0/+140
copy-interfaces. Using interface in the udp asio transport.