79 #ifndef CMSIS_PLUS_RTOS_OS_H_ 80 #define CMSIS_PLUS_RTOS_OS_H_ 84 #if defined(__cplusplus) 107 #include <cmsis-plus/rtos/port/os-inlines.h> 122 extern thread::threads_list top_threads_list_;
133 thread::threads_list&
142 #if defined(OS_HAS_INTERRUPTS_STACK) || defined(__DOXYGEN__) 171 template<
typename T,
typename ... Args>
172 inline typename std::enable_if<!std::is_array<T>::value,
173 std::shared_ptr<T> >::type
177 typedef typename std::remove_const<T>::type T_nc;
179 std::forward<Args>(args)...);
class thread::stack * stack(void)
Get the interrupts stack.
std::enable_if<!std::is_array< T >::value, std::shared_ptr< T > >::type make_shared(Args &&... args)
Create an object that is owned by a shared_ptr and is allocated using the RTOS system allocator...
class thread::stack & stack(void)
Get the thread context stack.
thread::threads_list & children_threads(thread *th)
Get the children threads.
Standard allocator based on the RTOS system default memory manager.