mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-08-06 11:07:34 +00:00
Added specification of stack and control block size for RtosThread
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
|
||||
namespace sta
|
||||
{
|
||||
RtosThread::RtosThread(const char* name, osPriority_t prio)
|
||||
RtosThread::RtosThread(const char* name, osPriority_t prio, uint32_t stack_size /* = 0 */, uint32_t cb_size /* = 0 */)
|
||||
: instance_{NULL},
|
||||
attribs_{ .name = name, .priority = prio }
|
||||
attribs_{ .name = name, .cb_size = cb_size, .stack_size = stack_size, .priority = prio }
|
||||
{}
|
||||
|
||||
osThreadId_t RtosThread::getInstance()
|
||||
|
Reference in New Issue
Block a user