diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-02 23:15:46 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-02 23:15:46 -0700 |
commit | 7352c95037fa57d37dd7adc4c2ea6935006b56c8 (patch) | |
tree | af0e2a3cbb42db9296ddbfe18e4d5eb7efc27de6 /host/lib/constants.hpp.in | |
parent | 00cd6018405b57a0982b0ce103ff858c646ee18c (diff) | |
download | uhd-7352c95037fa57d37dd7adc4c2ea6935006b56c8.tar.gz uhd-7352c95037fa57d37dd7adc4c2ea6935006b56c8.tar.bz2 uhd-7352c95037fa57d37dd7adc4c2ea6935006b56c8.zip |
uhd: reworked the zero copy interface
- 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.
Diffstat (limited to 'host/lib/constants.hpp.in')
0 files changed, 0 insertions, 0 deletions