mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Removed dead code for the now-removed Thread:kill
This commit is contained in:
@@ -68,17 +68,6 @@ void Thread::wait()
|
||||
thread = 0;
|
||||
}
|
||||
|
||||
void Thread::kill()
|
||||
{
|
||||
Lock l(mutex);
|
||||
if (!running)
|
||||
return;
|
||||
SDL_KillThread(thread);
|
||||
SDL_WaitThread(thread, 0);
|
||||
running = false;
|
||||
thread = 0;
|
||||
}
|
||||
|
||||
int Thread::thread_runner(void *data)
|
||||
{
|
||||
Thread *self = (Thread *) data; // some compilers don't like 'this'
|
||||
|
||||
Reference in New Issue
Block a user