roo_threads
API Documentation for roo_threads
Loading...
Searching...
No Matches
condition_variable.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
roo_threads/impl/resolve.h
"
4
5
#ifdef ROO_THREADS_USE_FREERTOS
6
7
#include "
roo_threads/impl/freertos/config.h
"
8
9
#if ROO_THREADS_FREERTOS_USE_OPTIMIZED_CONDITION_VARIABLE
10
11
#include "
roo_threads/impl/freertos/condition_variable_opt.h
"
12
namespace
roo_threads
{
13
/// @brief Backend namespace using FreeRTOS synchronization primitives.
14
namespace
freertos {
15
16
/// @ingroup roo_threads_api_condition_variable
17
/// @brief FreeRTOS optimized backend implementation of
18
/// `roo::condition_variable`.
19
/// @copydoc roo_threads::doc::condition_variable
20
using
condition_variable = condition_variable_opt;
21
22
}
// namespace freertos
23
}
// namespace roo_threads
24
25
#else
26
27
#include "
roo_threads/impl/freertos/condition_variable_classic.h
"
28
namespace
roo_threads
{
29
/// @brief Backend namespace using FreeRTOS synchronization primitives.
30
namespace
freertos {
31
/// @ingroup roo_threads_api_condition_variable
32
/// @brief FreeRTOS classic backend implementation of `roo::condition_variable`.
33
/// @copydoc roo_threads::doc::condition_variable
34
using
condition_variable = condition_variable_classic;
35
36
}
// namespace freertos
37
}
// namespace roo_threads
38
39
#endif
40
41
#endif
// ROO_THREADS_USE_FREERTOS
condition_variable_classic.h
condition_variable_opt.h
config.h
roo_threads
Definition
condition_variable_api.h:6
resolve.h
temp_repos
roo_threads
src
roo_threads
impl
freertos
condition_variable.h
Generated by
1.9.8