aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/soft_time_ctrl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* usrp1: stop threads in deconstructorJosh Blum2012-03-291-1/+5
| | | | | | | | | | | | | | | Its important to stop the threads before we let the other smart point objects naturally deconstruct to avoid thread-based race conditions. The attempt to deconstruct the tree and soft time ctrl had a bug because the tree had references in subtrees within the dboard manager class. Rather than continue to fix this method and deconstruct the tree to free up soft time ctrl, it seems simpler to just stop the thread in soft time ctrl, and then let it naturally deconstruct later by ref count.
* uhd: various tweaks for compiler warns and valgrindJosh Blum2012-02-091-2/+2
|
* usrp1: various tweaks related to streamingJosh Blum2011-11-031-4/+3
|
* uhd: added tasks to simplify thread spawning use casesJosh Blum2011-07-131-22/+7
|
* usrp: handle frontend swapping if the first subdev is QI or QJosh Blum2011-07-041-5/+5
|
* uhd: added inline message testing to the messages exampleJosh Blum2011-07-031-2/+9
| | | | | | | Renamed the example to test_messages (not just async). Fixed bug in super recv packet handler related to messages. Basically, the sequence number for messages should be ignored. Fixed some quirks with usrp1 soft time control to get it work as well.
* usrp1: tweaks + implemented other features to mimic async and inline messagesJosh Blum2011-07-021-9/+39
| | | | | | | Moved the underflow/overflow polling into a thread and out of the fast-path. Added an inline and async message queue into soft time control. Error and status messages are actually generated now and enqueued. Passes the async message test...
* uhd: implemented boost barriers on all code that creates threadsJosh Blum2011-03-311-6/+8
| | | | | | | | | The barrier ensures that the thread must spawn before the caller exits. Some of the code already used a mutex to accomplish this, however cygwin chokes when a mutex is locked twice by the same thread. Mutex implementations were replaced with the barrier implementation. Also the barrier implementation is far cleaner.
* uhd: change bounded_buffer implementation and code using itJosh Blum2011-02-051-4/+4
| | | | | | | The bounded buffer now uses the detail idiom to hide implementation to inline better. The whole sptr/make idiom was removed from bounded buffer to just construct directly. The code using bounded buffer was changed for the new api: replaces access operators and calls to the factory function.
* uhd: use time spec get_system_time to simplify soft time controlJosh Blum2011-01-301-29/+8
|
* usrp1: changes that make benchmark rx workJosh Blum2011-01-241-0/+3
| | | | | | initialize the time to something in soft time control use std::max(0, lost) because the time is emulated, lost can be negative which means huge positive unsigned...
* uhd: added docs on usrp2/n, removed empty n2xx doc page, miscJosh Blum2011-01-241-2/+0
|
* usrp1: set eob on md when shutting off receiver, because we canJosh Blum2011-01-181-0/+1
|
* usrp1: work on usrp1 hardware compat with the apiJosh Blum2011-01-171-39/+83
| | | | | | today we added shutoff the DAC when not transmitting using EOB as an indicator added various other features and cleaned up code for soft time control
* usrp1: implement soft time ctrl for send at, recv atJosh Blum2011-01-131-0/+179