A pthread mutex wrapper that provides a mutex with the priority inheritance protocol and a priority ceiling of 99. The mutex is also error checked and robust. This mutex is intended to be used in real-time contexts.
More...
|
| class | AsyncSchedulingPolicy |
| | Enum class to define the scheduling policy for the async worker thread. SYNCHRONIZED: The async worker thread will be synchronized with the main thread, as the main thread will be triggering the async callback method. DETACHED: The async worker thread will be detached from the main thread and will have its own execution cycle. SELF_PACED: The async worker thread will be scheduled by the hardware, by blocking at start of read() until a UDP packet arrives. Then the control cycle is started. UNKNOWN: The scheduling policy is unknown. More...
|
| struct | AsyncFunctionHandlerParams |
| | The AsyncFunctionHandlerParams struct is used to configure the AsyncFunctionHandler. If the type is SYNCHRONIZED, the async worker thread will be synchronized with the main thread, as the main thread will be triggering the async callback method. If the type is DETACHED, the async worker thread will be detached from the main thread and will have its own execution cycle. If the type is SELF_PACED, the async worker thread paces itself. The callback must block, for example in a hardware read(). More...
|
| class | AsyncFunctionHandler |
| | Class to handle asynchronous function calls. AsyncFunctionHandler is a class that allows the user to have a asynchronous call to the parsed method and be able to set some thread specific parameters. More...
|
| class | LockFreePooledSPSCQueue |
| | Wait-free SPSC queue for large or move-only types, backed by a preallocated pool. More...
|
| class | LockFreeQueueBase |
| | A base class for lock-free queues. More...
|
| class | RealtimeBuffer |
| class | RealtimePublisher |
| class | RealtimeServerGoalHandle |
| class | RealtimeThreadSafeBox |
|
| template<class DataType, std::size_t Capacity = 0> |
| using | LockFreeSPSCQueue |
| | Lock-free Single Producer Single Consumer Queue.
|
| template<class DataType, std::size_t Capacity = 0, bool FixedSize = true> |
| using | LockFreeMPMCQueue |
| | Lock-free Multiple Producer Multiple Consumer Queue.
|
|
using | prio_inherit_mutex = detail::mutex<detail::error_mutex_type_t, detail::robust_robustness_t> |
| using | prio_inherit_recursive_mutex |
|
template<class T, typename mutex_type = std::mutex> |
| using | RealtimeBoxBase = RealtimeThreadSafeBox<T, mutex_type> |
|
template<typename T> |
| using | RealtimeBoxStandard = RealtimeBoxBase<T, std::mutex> |
|
template<typename T> |
| using | RealtimeBoxRecursive = RealtimeBoxBase<T, std::recursive_mutex> |
|
template<typename T> |
| using | RealtimeBox = RealtimeBoxStandard<T> |
|
template<class MessageT> |
| using | RealtimePublisherSharedPtr = std::shared_ptr<RealtimePublisher<MessageT>> |
|
using | rt_server_goal_handle_mutex = prio_inherit_mutex |
|
template<typename T> |
| using | RealtimeThreadSafeBoxRecursive = RealtimeThreadSafeBox<T, RECURSIVE_MUTEX> |
|
| bool | has_realtime_kernel () |
| bool | configure_sched_fifo (int priority) |
| bool | configure_sched_rr (int priority) |
| std::pair< bool, std::string > | lock_memory () |
| std::pair< bool, std::string > | set_thread_affinity (NATIVE_THREAD_HANDLE thread, const std::vector< int > &cores) |
| std::pair< bool, std::string > | set_thread_affinity (NATIVE_THREAD_HANDLE thread, int core) |
| std::pair< bool, std::string > | set_thread_affinity (std::thread &thread, int core) |
| std::pair< bool, std::string > | set_current_thread_affinity (int core) |
| std::pair< bool, std::string > | set_current_thread_affinity (const std::vector< int > &cores) |
| std::pair< bool, std::string > | set_current_thread_name (const std::string &name) |
| int64_t | get_number_of_available_processors () |
A pthread mutex wrapper that provides a mutex with the priority inheritance protocol and a priority ceiling of 99. The mutex is also error checked and robust. This mutex is intended to be used in real-time contexts.
- Author
- Sai Kishor Kothakota
-
Sai Kishor Kothakota
- Note
- This mutex is not recursive.
- Author
- Stuart Glaser