summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/include/gnuradio/thread/thread.h
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2017-04-28 09:49:12 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2017-04-28 09:49:12 -0700
commit098dc3e01c86cad3d07d5632b674c04d2da65bdf (patch)
treed80f1020611223ffdecd75df5bbf41d80a133c5c /gnuradio-runtime/include/gnuradio/thread/thread.h
parent082711cc3f7d910e50609695224e7a3c994a4c73 (diff)
parent10b7f835854f46ac390fdb6954d312a6b0ba30e9 (diff)
Merge branch 'maint'
Diffstat (limited to 'gnuradio-runtime/include/gnuradio/thread/thread.h')
-rw-r--r--gnuradio-runtime/include/gnuradio/thread/thread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnuradio-runtime/include/gnuradio/thread/thread.h b/gnuradio-runtime/include/gnuradio/thread/thread.h
index a58d172867..20a94cba52 100644
--- a/gnuradio-runtime/include/gnuradio/thread/thread.h
+++ b/gnuradio-runtime/include/gnuradio/thread/thread.h
@@ -27,6 +27,8 @@
#include <boost/thread/mutex.hpp>
#include <boost/thread/locks.hpp>
#include <boost/thread/condition_variable.hpp>
+#include <boost/thread/barrier.hpp>
+#include <boost/shared_ptr.hpp>
#include <vector>
#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
@@ -46,6 +48,8 @@ namespace gr {
typedef boost::mutex mutex;
typedef boost::unique_lock<boost::mutex> scoped_lock;
typedef boost::condition_variable condition_variable;
+ typedef boost::barrier barrier;
+ typedef boost::shared_ptr<barrier> barrier_sptr;
/*! \brief a system-dependent typedef for the underlying thread type.
*/