summaryrefslogtreecommitdiff
path: root/glx/glthread.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-03-02 11:26:05 -0500
committerAdam Jackson <ajax@redhat.com>2011-03-08 13:24:38 -0500
commitd5e8bb2150ce9d8a4132d61f76621a2c7a7f0acf (patch)
treecce7abc290605faeaec6112608395e2643c4e199 /glx/glthread.c
parent3692ff0b35e774a6f6cbedf634d53c4df2e53a24 (diff)
glx: unifdef BEOS_THREADS
We don't support BeOS, so, no. Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'glx/glthread.c')
-rw-r--r--glx/glthread.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/glx/glthread.c b/glx/glthread.c
index a2d95b51c..5da7e433c 100644
--- a/glx/glthread.c
+++ b/glx/glthread.c
@@ -179,49 +179,8 @@ _glthread_SetTSD(_glthread_TSD *tsd, void *ptr)
#endif /* WIN32_THREADS */
-/*
- * BeOS threads
- */
-#ifdef BEOS_THREADS
-
-unsigned long
-_glthread_GetID(void)
-{
- return (unsigned long) find_thread(NULL);
-}
-
-void
-_glthread_InitTSD(_glthread_TSD *tsd)
-{
- tsd->key = tls_allocate();
- tsd->initMagic = INIT_MAGIC;
-}
-
-void *
-_glthread_GetTSD(_glthread_TSD *tsd)
-{
- if (tsd->initMagic != (int) INIT_MAGIC) {
- _glthread_InitTSD(tsd);
- }
- return tls_get(tsd->key);
-}
-
-void
-_glthread_SetTSD(_glthread_TSD *tsd, void *ptr)
-{
- if (tsd->initMagic != (int) INIT_MAGIC) {
- _glthread_InitTSD(tsd);
- }
- tls_set(tsd->key, ptr);
-}
-
-#endif /* BEOS_THREADS */
-
-
-
#else /* THREADS */
-
/*
* no-op functions
*/