mirror of https://github.com/mgba-emu/mgba.git
Core: Fix thread names that were too long
This commit is contained in:
parent
c3259da78d
commit
d339dc7570
|
@ -161,7 +161,7 @@ bool mCoreRewindRestore(struct mCoreRewindContext* context, struct mCore* core)
|
||||||
#ifndef DISABLE_THREADING
|
#ifndef DISABLE_THREADING
|
||||||
THREAD_ENTRY _rewindThread(void* context) {
|
THREAD_ENTRY _rewindThread(void* context) {
|
||||||
struct mCoreRewindContext* rewindContext = context;
|
struct mCoreRewindContext* rewindContext = context;
|
||||||
ThreadSetName("Rewind Diff Thread");
|
ThreadSetName("Rewind Diffing");
|
||||||
MutexLock(&rewindContext->mutex);
|
MutexLock(&rewindContext->mutex);
|
||||||
while (rewindContext->onThread) {
|
while (rewindContext->onThread) {
|
||||||
while (!rewindContext->ready && rewindContext->onThread) {
|
while (!rewindContext->ready && rewindContext->onThread) {
|
||||||
|
|
|
@ -178,7 +178,7 @@ static void _wake(struct mVideoLogger* logger, int y) {
|
||||||
|
|
||||||
static THREAD_ENTRY _proxyThread(void* logger) {
|
static THREAD_ENTRY _proxyThread(void* logger) {
|
||||||
struct mVideoThreadProxy* proxyRenderer = logger;
|
struct mVideoThreadProxy* proxyRenderer = logger;
|
||||||
ThreadSetName("Proxy Renderer Thread");
|
ThreadSetName("Proxy Rendering");
|
||||||
|
|
||||||
MutexLock(&proxyRenderer->mutex);
|
MutexLock(&proxyRenderer->mutex);
|
||||||
ConditionWake(&proxyRenderer->fromThreadCond);
|
ConditionWake(&proxyRenderer->fromThreadCond);
|
||||||
|
|
Loading…
Reference in New Issue