17#ifndef CMSIS_PLUS_ESTD_THREAD_
18#define CMSIS_PLUS_ESTD_THREAD_
23#pragma GCC diagnostic push
25#pragma clang diagnostic ignored "-Wgnu-include-next"
28#pragma GCC diagnostic pop
62#pragma GCC diagnostic push
64#pragma clang diagnostic ignored "-Wdeprecated-declarations"
65#elif defined(__GNUC__)
66#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
71 struct hash<
os::estd::thread::id> :
public std::unary_function<
72 os::estd::thread::id, size_t>
75 operator() (os::estd::thread::id v)
const
77 return std::hash<os::estd::thread::native_handle_type> () (
82#pragma GCC diagnostic pop
86#if defined(OS_HAS_STD_THREADS) && defined(OS_INCLUDE_STD_THREADS)
103 operator() (std::thread::id v)
const
105 return std::hash<std::thread::native_handle_type> () (v.native_thread_);
Single file µOS++ RTOS definitions.