projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1b07f0
)
os: Add missing dummy threading definitions.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 4 Feb 2010 14:34:33 +0000
(14:34 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 4 Feb 2010 14:39:30 +0000
(14:39 +0000)
src/gallium/auxiliary/os/os_thread.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/os/os_thread.h
b/src/gallium/auxiliary/os/os_thread.h
index 63108605d3aa0167183220be4df31525db2a087a..2da5fd77386901c07cd2b20875492f1c77e1eeb0 100644
(file)
--- 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;