mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-13 01:14:19 +00:00
うそ!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5057 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5b1d21d1a1
commit
a8793cbe52
@ -422,7 +422,7 @@ void SetCurrentThreadName(const TCHAR* szThreadName)
|
|||||||
// creates a memory leak if it actually doesn't fail
|
// creates a memory leak if it actually doesn't fail
|
||||||
// since we don't delete it once we delete the thread
|
// since we don't delete it once we delete the thread
|
||||||
// we are using a single threadname_key anyway for all threads
|
// we are using a single threadname_key anyway for all threads
|
||||||
if(!pthread_setspecific(threadname_key, strdup(szThreadName)))
|
if(!pthread_setspecific(threadname_key, name))
|
||||||
free(name);
|
free(name);
|
||||||
INFO_LOG(COMMON, "%s(%s)\n", __FUNCTION__, szThreadName);
|
INFO_LOG(COMMON, "%s(%s)\n", __FUNCTION__, szThreadName);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user