[USRP-users] Is tx_stream->send blocking?

Josh Blum josh at ettus.com
Sun Feb 24 21:08:43 EST 2013



On 02/24/2013 06:17 PM, Fernando Quivira wrote:
> Hi:
> 
> I'm trying to write a simple threaded application with tx in it. If I have
> all of the buffers available, should I call a sleep after I call it? Or is
> it not necessary?
> 
> I looked at the tx examples, and there isn't any sleep functions. I just
> want to make sure.
> 
> Thanks

The send() and recv() calls are both blocking calls with timeouts.

See
http://files.ettus.com/uhd_docs/doxygen/html/classuhd_1_1tx__streamer.html#aeb2e0f44810693d9da99ea1e04fad21f

-josh

> 
> 
> 
> _______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> 




More information about the USRP-users mailing list