mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-02 16:26:48 +00:00
adds unique_lock and condition_variable to common thread tools
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user