| zpp
    Zephyr C++20 Framework | 
A futex class. More...
#include <futex.hpp>
| Public Member Functions | |
| constexpr auto | native_handle () noexcept -> native_pointer | 
| get the native zephyr futex handle.  More... | |
| constexpr auto | native_handle () const noexcept -> native_const_pointer | 
| get the native zephyr futex handle.  More... | |
| futex (const futex &)=delete | |
| futex (futex &&)=delete | |
| futex & | operator= (const futex &)=delete | 
| futex & | operator= (futex &&)=delete | 
|  Public Member Functions inherited from zpp::futex_base< futex > | |
| futex_base (const futex_base &)=delete | |
| futex_base (futex_base &&)=delete | |
| bool | wait (int expected) noexcept | 
| Wait for the futex.  More... | |
| bool | try_wait (int expected) noexcept | 
| Try wait for the futex.  More... | |
| bool | try_wait_for (int expected, const std::chrono::duration< T_Rep, T_Period > &timeout) noexcept | 
| Wait for the futex.  More... | |
| void | wake_one () noexcept | 
| Wakeup one waiting thread.  More... | |
| void | wake_all () noexcept | 
| Wakeup all waiting threads.  More... | |
| auto | native_handle () noexcept -> native_pointer | 
| get the native zephyr futex handle.  More... | |
| auto | native_handle () const noexcept -> native_const_pointer | 
| get the native zephyr futex handle.  More... | |
| futex_base & | operator= (const futex_base &)=delete | 
| futex_base & | operator= (futex_base &&)=delete | 
| Additional Inherited Members | |
|  Public Types inherited from zpp::futex_base< futex > | |
| using | native_type = struct k_futex | 
| using | native_pointer = native_type * | 
| using | native_const_pointer = native_type const * | 
|  Protected Member Functions inherited from zpp::futex_base< futex > | |
| constexpr | futex_base () noexcept | 
| Default constructor.  More... | |
| 
 | delete | 
| 
 | delete | 
| 
 | inlineconstexprnoexcept | 
| 
 | inlineconstexprnoexcept |