some issue with stack size ..

This commit is contained in:
2020-06-06 15:01:57 +02:00
parent 212cd58f9a
commit ef01b78140
3 changed files with 16 additions and 9 deletions

View File

@ -128,6 +128,9 @@ void PosixThread::createTask(void* (*fnc_)(void*), void* arg_) {
default attributes.
*/
pthread_attr_t attributes;
//PeriodicPosixTask* task = reinterpret_cast<PeriodicPosixTask*>(arg_);
//sif::info << task->stackSize << std::endl;
sif::info << stackSize << std::endl;
int status = pthread_attr_init(&attributes);
if(status != 0){
sif::error << "Posix Thread attribute init failed with: " <<