forked from Alepha/Alepha
Bring in the mockination work and Truss from old.
It's all a mess -- not in the new unified form and namespace. I need to do a big cleanup pass.
This commit is contained in:
30
Truss/condition_variable.h
Normal file
30
Truss/condition_variable.h
Normal file
@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include <Alepha/Alepha.h>
|
||||
|
||||
#include <Alepha/Truss/thread_common.h>
|
||||
|
||||
#include <condition_variable>
|
||||
|
||||
#include <boost/thread/condition_variable.hpp>
|
||||
|
||||
namespace Alepha::Hydrogen::Truss
|
||||
{
|
||||
ALEPHA_BOOST_THREAD namespace BoostThread
|
||||
{
|
||||
using boost::condition_variable_any;
|
||||
|
||||
using condition_variable= condition_variable_any;
|
||||
|
||||
using condition= condition_variable;
|
||||
}
|
||||
|
||||
ALEPHA_STD_THREAD namespace StdThread
|
||||
{
|
||||
using std::condition_variable_any;
|
||||
|
||||
using condition_variable= condition_variable_any;
|
||||
|
||||
using condition= condition_variable;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user