diff options
author | Timothy Arceri <[email protected]> | 2017-03-05 12:39:49 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-07 08:53:27 +1100 |
commit | e5375ba028c8ca48b11b86068efb65c4e03153eb (patch) | |
tree | ccf5ae97fa554484a2ae81945f3fb5ca64cdc6a8 /src/gallium/drivers | |
parent | 628e84a58fdb26c63a705861b92f65f242613321 (diff) |
gallium/util: replace pipe_thread with thrd_t
pipe_thread was made unnecessary with fd33a6bcd7f12.
V2: fix compile error in u_queue.c
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/ddebug/dd_pipe.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast_priv.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/rbug/rbug_core.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/ddebug/dd_pipe.h b/src/gallium/drivers/ddebug/dd_pipe.h index dc7c325885d..64d5510e6b8 100644 --- a/src/gallium/drivers/ddebug/dd_pipe.h +++ b/src/gallium/drivers/ddebug/dd_pipe.h @@ -234,7 +234,7 @@ struct dd_context * their fences. Records with signalled fences are freed. On fence timeout, * the thread dumps the record of the oldest unsignalled fence. */ - pipe_thread thread; + thrd_t thread; mtx_t mutex; int kill_thread; struct pipe_resource *fence; diff --git a/src/gallium/drivers/llvmpipe/lp_rast_priv.h b/src/gallium/drivers/llvmpipe/lp_rast_priv.h index 9aa7e874657..3cc52b8d4fd 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast_priv.h +++ b/src/gallium/drivers/llvmpipe/lp_rast_priv.h @@ -127,7 +127,7 @@ struct lp_rasterizer struct lp_rasterizer_task tasks[LP_MAX_THREADS]; unsigned num_threads; - pipe_thread threads[LP_MAX_THREADS]; + thrd_t threads[LP_MAX_THREADS]; /** For synchronizing the rasterization threads */ pipe_barrier barrier; diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h index 726dbb30fcd..35168844fbf 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.h +++ b/src/gallium/drivers/radeon/r600_pipe_common.h @@ -395,7 +395,7 @@ struct r600_common_screen { /* GPU load thread. */ mtx_t gpu_load_mutex; - pipe_thread gpu_load_thread; + thrd_t gpu_load_thread; union r600_mmio_counters mmio_counters; volatile unsigned gpu_load_stop_thread; /* bool */ diff --git a/src/gallium/drivers/rbug/rbug_core.c b/src/gallium/drivers/rbug/rbug_core.c index b3082da5839..a5d3ee49ce4 100644 --- a/src/gallium/drivers/rbug/rbug_core.c +++ b/src/gallium/drivers/rbug/rbug_core.c @@ -54,7 +54,7 @@ struct rbug_rbug { struct rbug_screen *rb_screen; struct rbug_connection *con; - pipe_thread thread; + thrd_t thread; boolean running; }; |