commit | f0d3a4de75fdb865c058aba8614f0fe6ba5f0969 | [log] [tgz] |
---|---|---|
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | Sun Oct 22 17:38:40 2017 +0200 |
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | Thu Nov 09 11:53:19 2017 +0100 |
tree | 282bc069bd4f0a566adaef1cfcc66e0c9cff32ea | |
parent | 28c95cdb299f56c8224446368fb464b7b1d44a6c [diff] |
util: move pipe_barrier into src/util and rename to util_barrier The #if guard is probably not 100% equivalent to the previous PIPE_OS check, but if anything it should be an over-approximation (are there pthread implementations without barriers?), so people will get either a good implementation or compile errors that are easy to fix. Reviewed-by: Marek Olšák <marek.olsak@amd.com>