linux important bugfix and general improvements #101

Merged
gaisser merged 8 commits from KSat/fsfw:mueller_Linux_Bugfix into master 2020-06-23 20:28:14 +02:00
Showing only changes of commit 92f493f13a - Show all commits

View File

@ -6,7 +6,7 @@
PosixThread::PosixThread(const char* name_, int priority_, size_t stackSize_): PosixThread::PosixThread(const char* name_, int priority_, size_t stackSize_):
thread(0),priority(priority_),stackSize(stackSize_) { thread(0),priority(priority_),stackSize(stackSize_) {
name[0] = '\0'; name[0] = '\0';
strncat(name, name_, PTHREAD_MAX_NAMELE - 1); strncat(name, name_, PTHREAD_MAX_NAMELEN - 1);
} }
PosixThread::~PosixThread() { PosixThread::~PosixThread() {