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/drivers/radeon | |
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/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/r600_gpu_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_gpu_load.c b/src/gallium/drivers/radeon/r600_gpu_load.c index df43a6e8752..1b51af4cdc0 100644 --- a/src/gallium/drivers/radeon/r600_gpu_load.c +++ b/src/gallium/drivers/radeon/r600_gpu_load.c @@ -170,7 +170,7 @@ void r600_gpu_load_kill_thread(struct r600_common_screen *rscreen) return; p_atomic_inc(&rscreen->gpu_load_stop_thread); - pipe_thread_wait(rscreen->gpu_load_thread); + thrd_join(rscreen->gpu_load_thread, NULL); rscreen->gpu_load_thread = 0; } |