Pth threading bug fix

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40398
This commit is contained in:
Sam Lantinga 2002-06-10 20:42:02 +00:00
parent 60236871ea
commit dee1deebe1
3 changed files with 12 additions and 11 deletions

View file

@ -52,12 +52,6 @@ int SDL_ThreadsInit(void)
{
int retval;
#ifdef ENABLE_PTH
if (!pth_init()) {
return -1;
}
#endif
retval = 0;
/* Set the thread lock creation flag so that we can reuse an
existing lock on the system - since this mutex never gets
@ -86,10 +80,6 @@ void SDL_ThreadsQuit()
if ( mutex != NULL ) {
SDL_DestroyMutex(mutex);
}
#ifdef ENABLE_PTH
pth_kill();
#endif
}
/* Routines for manipulating the thread list */