diff options
author | José Fonseca <jfonseca@vmware.com> | 2013-03-12 10:37:46 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-01-23 12:55:55 +0000 |
commit | ecaa81bd9648131e01f9ad4fd9d185370df8e872 (patch) | |
tree | 9c71722d8a20faf648c52775cd80fabf8c4b40f9 /src/gallium/auxiliary | |
parent | 349f0a94aeaded3125d5c7f31ae2092f1b4a5727 (diff) |
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')
0 files changed, 0 insertions, 0 deletions