diff --git a/src/utils/CThread.h b/src/utils/CThread.h index d0300ba..3f3541e 100644 --- a/src/utils/CThread.h +++ b/src/utils/CThread.h @@ -37,8 +37,10 @@ public: //! allocate the stack pThreadStack = (uint8_t *) memalign(0x20, iStackSize); //! create the thread - if (pThread && pThreadStack) + if (pThread && pThreadStack) { OSCreateThread(pThread, &CThread::threadCallback, 1, (char *) this, pThreadStack + iStackSize, iStackSize, iPriority, iAttributes); + OSSetThreadName(pThread, "FTP Server Thread"); + } } //! destructor