diff options
author | Timothy Arceri <[email protected]> | 2017-03-06 11:58:27 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-07 09:12:16 +1100 |
commit | d82d8be6148b599ce47bf4c0e6ae4e27cf5cc233 (patch) | |
tree | 9eaea02e95bb7ab99c64a9c1b812fdff64ae47c2 /src/gallium/auxiliary/util | |
parent | da40ac65c7b9f8d877fb6f79b2a29138237ec868 (diff) |
gallium/util: replace pipe_thread_wait() with thrd_join()
Replace done using:
find ./src -type f -exec sed -i -- \
's:pipe_thread_wait(\([^)]*\)):thrd_join(\1, NULL):g' {} \;
Reviewed-by: Plamena Manolova <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_queue.c b/src/gallium/auxiliary/util/u_queue.c index a3aed29795b..9565c538260 100644 --- a/src/gallium/auxiliary/util/u_queue.c +++ b/src/gallium/auxiliary/util/u_queue.c @@ -272,7 +272,7 @@ util_queue_killall_and_wait(struct util_queue *queue) mtx_unlock(&queue->lock); for (i = 0; i < queue->num_threads; i++) - pipe_thread_wait(queue->threads[i]); + thrd_join(queue->threads[i], NULL); queue->num_threads = 0; } |