WPILibC++
2025.3.1
Loading...
Searching...
No Matches
condition_variable.h
Go to the documentation of this file.
1
// Copyright (c) FIRST and other WPILib contributors.
2
// Open Source Software; you can modify and/or share it under the terms of
3
// the WPILib BSD license file in the root directory of this project.
4
5
#pragma once
6
7
#include <condition_variable>
8
9
#include "
wpi/priority_mutex.h
"
10
11
namespace
wpi
{
12
13
#if defined(__linux__) && defined(WPI_HAVE_PRIORITY_MUTEX)
14
using
condition_variable
= ::std::condition_variable_any;
15
#else
16
using
condition_variable
= ::std::condition_variable;
17
#endif
18
19
}
// namespace wpi
wpi
Foonathan namespace.
Definition
ntcore_cpp.h:26
wpi::condition_variable
::std::condition_variable condition_variable
Definition
condition_variable.h:16
priority_mutex.h
wpi
condition_variable.h
Generated on Fri Feb 14 2025 07:31:45 for WPILibC++ by
1.12.0