aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/codec_ctrl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-31 15:00:56 -0700
committerJosh Blum <josh@joshknows.com>2011-03-31 15:00:56 -0700
commit1c5076ea68345e74de35cad43e4a4b4adf68fa15 (patch)
treead9f49f783761e89054a7bee5a0c20c9b406da35 /host/lib/usrp/usrp2/codec_ctrl.cpp
parent48f6e1f8aae24ee4ff3b15232cfc335b0210ed11 (diff)
downloaduhd-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/codec_ctrl.cpp')
0 files changed, 0 insertions, 0 deletions