From 4474868372b501b6c31e4e5f9a9a86d8d1155de6 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Thu, 16 May 2013 10:30:38 -0500 Subject: [PATCH] adds unique_lock and condition_variable to common thread tools --- websocketpp/common/thread.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/websocketpp/common/thread.hpp b/websocketpp/common/thread.hpp index 2aac62de20..b2ae135f68 100644 --- a/websocketpp/common/thread.hpp +++ b/websocketpp/common/thread.hpp @@ -50,10 +50,14 @@ namespace lib { using std::mutex; using std::lock_guard; using std::thread; + using std::unique_lock; + using std::condition_variable; #else using boost::mutex; using boost::lock_guard; using boost::thread; + using boost::unique_lock; + using boost::condition_variable; #endif } // namespace lib