summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/os/os_thread.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2013-03-12 10:37:46 +0000
committerJosé Fonseca <jfonseca@vmware.com>2014-01-23 12:55:55 +0000
commitecaa81bd9648131e01f9ad4fd9d185370df8e872 (patch)
tree9c71722d8a20faf648c52775cd80fabf8c4b40f9 /src/gallium/auxiliary/os/os_thread.h
parent349f0a94aeaded3125d5c7f31ae2092f1b4a5727 (diff)
downloadexternal_mesa3d-ecaa81bd9648131e01f9ad4fd9d185370df8e872.zip
external_mesa3d-ecaa81bd9648131e01f9ad4fd9d185370df8e872.tar.gz
external_mesa3d-ecaa81bd9648131e01f9ad4fd9d185370df8e872.tar.bz2
c11: Import threads.h emulation library.
Implementation is based of https://gist.github.com/2223710 with the following modifications: - inline implementatation - retain XP compatability - add temporary hack for static mutex initializers (as they are not part of the stack but still widely used internally) - make TIME_UTC a conditional macro (some system headers already define it, so this prevents conflict) - respect HAVE_PTHREAD macro Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'src/gallium/auxiliary/os/os_thread.h')
0 files changed, 0 insertions, 0 deletions