diff options
author | José Fonseca <[email protected]> | 2013-04-26 08:03:33 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2014-01-23 12:55:55 +0000 |
commit | fd33a6bcd7f1271e80332379131e82e00fe10586 (patch) | |
tree | efbc6599750e2a89fe86124f077b84807ac5d9f3 /src/gallium/drivers/rbug | |
parent | ecaa81bd9648131e01f9ad4fd9d185370df8e872 (diff) |
gallium: Use C11 thread abstractions.
Note that PIPE_ROUTINE now returns an int.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/gallium/drivers/rbug')
-rw-r--r-- | src/gallium/drivers/rbug/rbug_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/rbug/rbug_core.c b/src/gallium/drivers/rbug/rbug_core.c index 8f9388ad829..c5b26b85085 100644 --- a/src/gallium/drivers/rbug/rbug_core.c +++ b/src/gallium/drivers/rbug/rbug_core.c @@ -810,7 +810,7 @@ PIPE_THREAD_ROUTINE(rbug_thread, void_tr_rbug) if (s < 0) { debug_printf("rbug_rbug - failed to listen\n"); - return NULL; + return 0; } u_socket_block(s, false); @@ -836,7 +836,7 @@ PIPE_THREAD_ROUTINE(rbug_thread, void_tr_rbug) u_socket_stop(); - return NULL; + return 0; } /********************************************************** |