diff options
author | José Fonseca <jfonseca@vmware.com> | 2013-04-26 08:03:33 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-01-23 12:55:55 +0000 |
commit | fd33a6bcd7f1271e80332379131e82e00fe10586 (patch) | |
tree | efbc6599750e2a89fe86124f077b84807ac5d9f3 /src/gallium/tests/unit/pipe_barrier_test.c | |
parent | ecaa81bd9648131e01f9ad4fd9d185370df8e872 (diff) | |
download | external_mesa3d-fd33a6bcd7f1271e80332379131e82e00fe10586.zip external_mesa3d-fd33a6bcd7f1271e80332379131e82e00fe10586.tar.gz external_mesa3d-fd33a6bcd7f1271e80332379131e82e00fe10586.tar.bz2 |
gallium: Use C11 thread abstractions.
Note that PIPE_ROUTINE now returns an int.
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'src/gallium/tests/unit/pipe_barrier_test.c')
-rw-r--r-- | src/gallium/tests/unit/pipe_barrier_test.c | 2 |
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 f5d72b0..bab6aca 100644 --- a/src/gallium/tests/unit/pipe_barrier_test.c +++ b/src/gallium/tests/unit/pipe_barrier_test.c @@ -57,7 +57,7 @@ static PIPE_THREAD_ROUTINE(thread_function, thread_data) pipe_barrier_wait(&barrier); printf("thread %d exiting\n", thread_id); - return NULL; + return 0; } |