diff options
author | Josh Blum <josh@joshknows.com> | 2011-03-31 15:00:56 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-03-31 15:00:56 -0700 |
commit | 1c5076ea68345e74de35cad43e4a4b4adf68fa15 (patch) | |
tree | ad9f49f783761e89054a7bee5a0c20c9b406da35 /host/lib/usrp/usrp2/usrp2_impl.cpp | |
parent | 48f6e1f8aae24ee4ff3b15232cfc335b0210ed11 (diff) | |
download | uhd-1c5076ea68345e74de35cad43e4a4b4adf68fa15.tar.gz uhd-1c5076ea68345e74de35cad43e4a4b4adf68fa15.tar.bz2 uhd-1c5076ea68345e74de35cad43e4a4b4adf68fa15.zip |
uhd: implemented boost barriers on all code that creates threads
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.
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.cpp')
0 files changed, 0 insertions, 0 deletions