mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-09-28 18:57:33 +00:00
Updated custom stack sizes for TacosThreads
This commit is contained in:
@@ -19,12 +19,15 @@ namespace sta
|
||||
{
|
||||
namespace tacos
|
||||
{
|
||||
TacosThread::TacosThread(const char* name, osPriority_t prio, uint32_t stack_size = NULL, uint32_t cb_size = NULL)
|
||||
TacosThread::TacosThread(const char* name, osPriority_t prio, uint32_t stack_size /* = 0 */, uint32_t cb_size /* = 0 */)
|
||||
: RtosThread(RtosHandle<osThreadId_t>(Handle::Deferred(&instance_))),
|
||||
instance_{ NULL },
|
||||
attribs_{ .name = name, .priority = prio, .stack_size=stack_size, .cb_size=cb_size },
|
||||
attribs_{ .name=name, .cb_size=cb_size, .stack_size=stack_size, .priority=prio },
|
||||
running_{false}
|
||||
{}
|
||||
{
|
||||
STA_ASSERT(stack_size >= 0);
|
||||
STA_ASSERT(stack_size >= 0);
|
||||
}
|
||||
|
||||
void TacosThread::entry_point(void* arg)
|
||||
{
|
||||
|
Reference in New Issue
Block a user