32#ifndef CMSIS_PLUS_ESTD_THREAD_
33#define CMSIS_PLUS_ESTD_THREAD_
38#pragma GCC diagnostic push
40#pragma clang diagnostic ignored "-Wgnu-include-next"
43#pragma GCC diagnostic pop
77#pragma GCC diagnostic push
78#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
82 struct hash<
os::estd::thread::id> :
public std::unary_function<
83 os::estd::thread::id, size_t>
86 operator() (os::estd::thread::id v)
const
88 return std::hash<os::estd::thread::native_handle_type> () (
93#pragma GCC diagnostic push
97#if defined(OS_HAS_STD_THREADS) && defined(OS_INCLUDE_STD_THREADS)
114 operator() (std::thread::id v)
const
116 return std::hash<std::thread::native_handle_type> () (v.native_thread_);
Single file µOS++ RTOS definitions.