mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-17 18:29:19 +01:00
Give the thread a proper name
This commit is contained in:
parent
209ef3d6a1
commit
aa8a313291
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user