summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2013-03-12 11:54:58 +0000
committerJosé Fonseca <[email protected]>2014-01-23 12:55:55 +0000
commit349f0a94aeaded3125d5c7f31ae2092f1b4a5727 (patch)
treef07f9135c7f1bf23305f952577972d536c666aa2 /src/gallium/auxiliary
parent815e064fb653c6f00fc6a0f1dd58d75ff085e20d (diff)
os: Remove pipe_static_condvar.
Never used. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/os/os_thread.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gallium/auxiliary/os/os_thread.h b/src/gallium/auxiliary/os/os_thread.h
index 6403b4fbe06..b7b98b73e3d 100644
--- a/src/gallium/auxiliary/os/os_thread.h
+++ b/src/gallium/auxiliary/os/os_thread.h
@@ -105,9 +105,6 @@ typedef pthread_mutex_t pipe_mutex;
*/
typedef pthread_cond_t pipe_condvar;
-#define pipe_static_condvar(mutex) \
- static pipe_condvar mutex = PTHREAD_COND_INITIALIZER
-
#define pipe_condvar_init(cond) \
pthread_cond_init(&(cond), NULL)
@@ -187,9 +184,6 @@ typedef CRITICAL_SECTION pipe_mutex;
*/
typedef CONDITION_VARIABLE pipe_condvar;
-#define pipe_static_condvar(cond) \
- /*static*/ pipe_condvar cond = CONDITION_VARIABLE_INIT
-
#define pipe_condvar_init(cond) \
InitializeConditionVariable(&(cond))
@@ -213,9 +207,6 @@ typedef CONDITION_VARIABLE pipe_condvar;
*/
typedef DWORD pipe_condvar;
-#define pipe_static_condvar(cond) \
- /*static*/ pipe_condvar cond = 1
-
#define pipe_condvar_init(cond) \
(void) (cond = 1)
@@ -284,9 +275,6 @@ typedef unsigned pipe_mutex;
typedef int64_t pipe_condvar;
-#define pipe_static_condvar(condvar) \
- static pipe_condvar condvar = 1000
-
#define pipe_condvar_init(condvar) \
(void) (condvar = 1000)