[Mesa-dev] [PATCH 04/10] mesa: remove unused _glthread_*MUTEX() macros
Brian Paul
brianp at vmware.com
Sat Mar 1 11:21:58 PST 2014
---
src/mapi/glapi/glthread.h | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/mapi/glapi/glthread.h b/src/mapi/glapi/glthread.h
index 2399abb..ddb4973 100644
--- a/src/mapi/glapi/glthread.h
+++ b/src/mapi/glapi/glthread.h
@@ -7,19 +7,12 @@
extern "C" {
#endif
-#define _glthread_DECLARE_STATIC_MUTEX(name) u_mutex_declare_static(name)
-#define _glthread_INIT_MUTEX(name) u_mutex_init(name)
-#define _glthread_DESTROY_MUTEX(name) u_mutex_destroy(name)
-#define _glthread_LOCK_MUTEX(name) u_mutex_lock(name)
-#define _glthread_UNLOCK_MUTEX(name) u_mutex_unlock(name)
-
#define _glthread_InitTSD(tsd) u_tsd_init(tsd);
#define _glthread_DestroyTSD(tsd) u_tsd_destroy(tsd);
#define _glthread_GetTSD(tsd) u_tsd_get(tsd);
#define _glthread_SetTSD(tsd, ptr) u_tsd_set(tsd, ptr);
typedef struct u_tsd _glthread_TSD;
-typedef u_mutex _glthread_Mutex;
#ifdef __cplusplus
}
--
1.7.10.4
More information about the mesa-dev
mailing list