#ifndef CONDITION_VARIABLE_H_
#define CONDITION_VARIABLE_H_

#if (defined(TN_PLATFORM_WINPHONE) || defined(TN_PLATFORM_WINRT))
#include <condition_variable>
namespace Tn
{
	namespace Foundation
	{
		using std::condition_variable;
		using std::condition_variable_any;
		namespace chrono = std::chrono;
		using std::cv_status::cv_status;
	}
}

#else
#include <boost/thread/condition_variable.hpp>
namespace Tn 
{
    namespace Foundation 
    {
        using boost::condition_variable;
        using boost::condition_variable_any;
        namespace chrono = boost::chrono;
        using boost::cv_status;
    }
}
#endif

#endif //!__CONDITION_VARIABLE_H__

