mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Added internal thread name support, for use with debuggers.
This commit is contained in:
@@ -51,7 +51,7 @@ bool Thread::start()
|
||||
return false;
|
||||
if (thread) // Clean old handle up
|
||||
SDL_WaitThread(thread, 0);
|
||||
thread = SDL_CreateThread(thread_runner, NULL, this);
|
||||
thread = SDL_CreateThread(thread_runner, t->getThreadName(), this);
|
||||
running = (thread != 0);
|
||||
return running;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user