diff src/thread/SDL_thread.c @ 397:283d348cb624

Pth threading bug fix
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jun 2002 20:42:02 +0000
parents b9f1ce709960
children b8d311d90021
line wrap: on
line diff
--- a/src/thread/SDL_thread.c	Mon Jun 10 20:37:39 2002 +0000
+++ b/src/thread/SDL_thread.c	Mon Jun 10 20:42:02 2002 +0000
@@ -52,12 +52,6 @@
 {
 	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 @@
 	if ( mutex != NULL ) {
 		SDL_DestroyMutex(mutex);
 	}
-
-#ifdef ENABLE_PTH
-	pth_kill();
-#endif
 }
 
 /* Routines for manipulating the thread list */