Removed dead code for the now-removed Thread:kill

This commit is contained in:
Alex Szpakowski
2013-07-08 17:00:47 -03:00
parent 9da1af1e99
commit 9155b7b0ee
6 changed files with 5 additions and 26 deletions
-11
View File
@@ -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'
-1
View File
@@ -47,7 +47,6 @@ public:
Thread(Threadable *t);
~Thread();
bool start();
void kill();
void wait();
}; // Thread
} // sdl