diff options
author | Timothy Arceri <[email protected]> | 2017-03-09 10:07:43 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-12 17:49:04 +1100 |
commit | ca76a2ba1b83ca837a198dc58ef3962d1ca71c68 (patch) | |
tree | 7e2f9235cfd8f5f42ab7be205e764fbae582816a /src/gallium/state_trackers | |
parent | 14e6b8695206dc2b3f38c65ae5fab0e1819e2725 (diff) |
gallium/util: replace pipe_thread_setname() with u_thread_setname()
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/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/nine/nine_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/nine_state.c b/src/gallium/state_trackers/nine/nine_state.c index ef33942a62a..26c21f29f72 100644 --- a/src/gallium/state_trackers/nine/nine_state.c +++ b/src/gallium/state_trackers/nine/nine_state.c @@ -95,7 +95,7 @@ nine_csmt_worker(void *arg) struct csmt_instruction *instr; DBG("CSMT worker spawned\n"); - pipe_thread_setname("CSMT-Worker"); + u_thread_setname("CSMT-Worker"); while (1) { nine_queue_wait_flush(ctx->pool); @@ -158,7 +158,7 @@ nine_csmt_create( struct NineDevice9 *This ) (void) mtx_init(&ctx->thread_resume, mtx_plain); #if DEBUG - pipe_thread_setname("Main thread"); + u_thread_setname("Main thread"); #endif ctx->device = This; |