diff options
author | José Fonseca <[email protected]> | 2013-03-12 10:37:46 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2014-01-23 12:55:55 +0000 |
commit | ecaa81bd9648131e01f9ad4fd9d185370df8e872 (patch) | |
tree | 9c71722d8a20faf648c52775cd80fabf8c4b40f9 /src/gallium/auxiliary/os/os_thread.h | |
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 <[email protected]>
Acked-by: Ian Romanick <[email protected]>
Acked-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/os/os_thread.h')
0 files changed, 0 insertions, 0 deletions