From d82d8be6148b599ce47bf4c0e6ae4e27cf5cc233 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 6 Mar 2017 11:58:27 +1100 Subject: gallium/util: replace pipe_thread_wait() with thrd_join() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace done using: find ./src -type f -exec sed -i -- \ 's:pipe_thread_wait(\([^)]*\)):thrd_join(\1, NULL):g' {} \; Reviewed-by: Plamena Manolova Reviewed-by: Marek Olšák --- src/gallium/drivers/ddebug/dd_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/ddebug') 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); } -- cgit v1.2.3