summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ddebug
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-09 09:57:58 +1100
committerTimothy Arceri <[email protected]>2017-03-12 17:49:04 +1100
commitf8cc4c25b8985e7f834510ca9d34eec308f413e3 (patch)
tree0f5b2f65c8b81681eeb5e85f4cf87af6f66d0b59 /src/gallium/drivers/ddebug
parentb822d9dd67b502565b30da37b90c1d70114b8409 (diff)
gallium/util: replace pipe_thread_create() with u_thread_create()
They do the same thing we just moved the function to be accessible to all of Mesa. 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 d73b094ffaf..9811663b4da 100644
--- a/src/gallium/drivers/ddebug/dd_context.c
+++ b/src/gallium/drivers/ddebug/dd_context.c
@@ -871,7 +871,7 @@ dd_context_create(struct dd_screen *dscreen, struct pipe_context *pipe)
*dctx->mapped_fence = 0;
(void) mtx_init(&dctx->mutex, mtx_plain);
- dctx->thread = pipe_thread_create(dd_thread_pipelined_hang_detect, dctx);
+ dctx->thread = u_thread_create(dd_thread_pipelined_hang_detect, dctx);
if (!dctx->thread) {
mtx_destroy(&dctx->mutex);
goto fail;