summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-02-04 14:34:33 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-02-04 14:39:30 +0000
commit1207098deefb83559ba275e89f2bd154a65d21ca (patch)
tree94e50f77587ed128b0da7778edaef4d16cecf949 /src/gallium
parentf1b07f0220bd71c86c977ba04cf20cf90d5e8958 (diff)
downloadexternal_mesa3d-1207098deefb83559ba275e89f2bd154a65d21ca.zip
external_mesa3d-1207098deefb83559ba275e89f2bd154a65d21ca.tar.gz
external_mesa3d-1207098deefb83559ba275e89f2bd154a65d21ca.tar.bz2
os: Add missing dummy threading definitions.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/os/os_thread.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/os/os_thread.h b/src/gallium/auxiliary/os/os_thread.h
index 6310860..2da5fd7 100644
--- a/src/gallium/auxiliary/os/os_thread.h
+++ b/src/gallium/auxiliary/os/os_thread.h
@@ -167,6 +167,25 @@ typedef unsigned pipe_condvar;
/** Dummy definitions */
typedef unsigned pipe_thread;
+
+#define PIPE_THREAD_ROUTINE( name, param ) \
+ void * name( void *param )
+
+static INLINE pipe_thread pipe_thread_create( void *(* routine)( void *), void *param )
+{
+ return 0;
+}
+
+static INLINE int pipe_thread_wait( pipe_thread thread )
+{
+ return -1;
+}
+
+static INLINE int pipe_thread_destroy( pipe_thread thread )
+{
+ return -1;
+}
+
typedef unsigned pipe_mutex;
typedef unsigned pipe_condvar;