summaryrefslogtreecommitdiff
path: root/gruel/src
diff options
context:
space:
mode:
authorJohnathan Corgan2013-01-23 09:43:49 -0800
committerJohnathan Corgan2013-02-07 02:07:01 -0500
commitf27346b27085ea1a78bdada66a1a8e77bbf8a299 (patch)
tree75fcbd7d65153969e32fd3dcdb4864c0c1d686a0 /gruel/src
parenta57dbeeed3d12df16caccf0d6fefad337a0dc48d (diff)
downloadgnuradio-f27346b27085ea1a78bdada66a1a8e77bbf8a299.tar.gz
gnuradio-f27346b27085ea1a78bdada66a1a8e77bbf8a299.tar.bz2
gnuradio-f27346b27085ea1a78bdada66a1a8e77bbf8a299.zip
gruel: change scoped_lock mutex to account for Boost deprecation
boost::mutex::scoped_lock is going away someday boost::unique_lock<boost::mutex> is a drop-in replacement
Diffstat (limited to 'gruel/src')
-rw-r--r--gruel/src/include/gruel/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gruel/src/include/gruel/thread.h b/gruel/src/include/gruel/thread.h
index 63143c8b4..c0b54b0a4 100644
--- a/gruel/src/include/gruel/thread.h
+++ b/gruel/src/include/gruel/thread.h
@@ -31,7 +31,7 @@ namespace gruel {
typedef boost::thread thread;
typedef boost::mutex mutex;
- typedef boost::mutex::scoped_lock scoped_lock;
+ typedef boost::unique_lock<boost::mutex> scoped_lock;
typedef boost::condition_variable condition_variable;
} /* namespace gruel */