name correction
This commit is contained in:
parent
be066755c0
commit
92f493f13a
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user