summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/unit
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/tests/unit
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/tests/unit')
-rw-r--r--src/gallium/tests/unit/pipe_barrier_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/unit/pipe_barrier_test.c b/src/gallium/tests/unit/pipe_barrier_test.c
index f77f1e1a8ef..58ad7e29630 100644
--- a/src/gallium/tests/unit/pipe_barrier_test.c
+++ b/src/gallium/tests/unit/pipe_barrier_test.c
@@ -113,7 +113,7 @@ int main(int argc, char *argv[])
for (i = 0; i < NUM_THREADS; i++) {
thread_ids[i] = i;
- threads[i] = pipe_thread_create(thread_function, (void *) &thread_ids[i]);
+ threads[i] = u_thread_create(thread_function, (void *) &thread_ids[i]);
}
for (i = 0; i < NUM_THREADS; i++ ) {