summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ddebug
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-06 11:58:27 +1100
committerTimothy Arceri <[email protected]>2017-03-07 09:12:16 +1100
commitd82d8be6148b599ce47bf4c0e6ae4e27cf5cc233 (patch)
tree9eaea02e95bb7ab99c64a9c1b812fdff64ae47c2 /src/gallium/drivers/ddebug
parentda40ac65c7b9f8d877fb6f79b2a29138237ec868 (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/ddebug')
-rw-r--r--src/gallium/drivers/ddebug/dd_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ddebug/dd_context.c b/src/gallium/drivers/ddebug/dd_context.c
index a52975d8cb2..eae128a2a0f 100644
--- a/src/gallium/drivers/ddebug/dd_context.c
+++ b/src/gallium/drivers/ddebug/dd_context.c
@@ -597,7 +597,7 @@ dd_context_destroy(struct pipe_context *_pipe)
mtx_lock(&dctx->mutex);
dctx->kill_thread = 1;
mtx_unlock(&dctx->mutex);
- pipe_thread_wait(dctx->thread);
+ thrd_join(dctx->thread, NULL);
mtx_destroy(&dctx->mutex);
assert(!dctx->records);
}