commit | 185061aef41401bead9e5d15aa00ffa2fcf7ef8c | [log] [tgz] |
---|---|---|
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | Sun Oct 22 17:38:41 2017 +0200 |
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | Thu Nov 09 11:53:19 2017 +0100 |
tree | c04fd6225648d34f5ffd5c943162c47d5109b712 | |
parent | f0d3a4de75fdb865c058aba8614f0fe6ba5f0969 [diff] |
u_queue: add util_queue_finish for waiting for previously added jobs Schedule one job for every thread, and wait on a barrier inside the job execution function. v2: avoid alloca (fixes Windows build error) Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1)