diff options
author | Emil Velikov <[email protected]> | 2015-03-06 16:54:59 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-03-11 23:28:26 +0000 |
commit | a385d18598b28bf935e4460b86ce3f9e095a8015 (patch) | |
tree | 1b751baf82f6c726242e6909dc796728f2e058c5 /src/glx/glxcurrent.c | |
parent | 42144170d189d2539a4fb2243200e760114af9f7 (diff) |
glx: remove support for non-multithreaded platforms
Implicitly required for a while, although commit 9385c592c68 (mapi:
remove u_thread.h) was the one that put the final nail on the
coffin.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glx/glxcurrent.c')
-rw-r--r-- | src/glx/glxcurrent.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/glx/glxcurrent.c b/src/glx/glxcurrent.c index 86fb658ca5e..7f47a427771 100644 --- a/src/glx/glxcurrent.c +++ b/src/glx/glxcurrent.c @@ -33,9 +33,7 @@ * Client-side GLX interface for current context management. */ -#ifdef HAVE_PTHREAD #include <pthread.h> -#endif #include "glxclient.h" @@ -67,8 +65,6 @@ struct glx_context dummyContext = { * Current context management and locking */ -#if defined( HAVE_PTHREAD ) - _X_HIDDEN pthread_mutex_t __glXmutex = PTHREAD_MUTEX_INITIALIZER; # if defined( GLX_USE_TLS ) @@ -138,13 +134,6 @@ __glXGetCurrentContext(void) # endif /* defined( GLX_USE_TLS ) */ -#else - -/* not thread safe */ -_X_HIDDEN struct glx_context *__glXcurrentContext = &dummyContext; - -#endif - _X_HIDDEN void __glXSetCurrentContextNull(void) |