summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
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/llvmpipe
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/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index 678ef0bd0bf..d746778e25f 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -865,7 +865,7 @@ create_rast_threads(struct lp_rasterizer *rast)
for (i = 0; i < rast->num_threads; i++) {
pipe_semaphore_init(&rast->tasks[i].work_ready, 0);
pipe_semaphore_init(&rast->tasks[i].work_done, 0);
- rast->threads[i] = pipe_thread_create(thread_function,
+ rast->threads[i] = u_thread_create(thread_function,
(void *) &rast->tasks[i]);
}
}