aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2013-04-26 08:03:33 +0100
committerJosé Fonseca <[email protected]>2014-01-23 12:55:55 +0000
commitfd33a6bcd7f1271e80332379131e82e00fe10586 (patch)
treeefbc6599750e2a89fe86124f077b84807ac5d9f3 /src/gallium/winsys/radeon
parentecaa81bd9648131e01f9ad4fd9d185370df8e872 (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/winsys/radeon')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_winsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
index dc9d183ae6a..427ee7df642 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
@@ -593,7 +593,7 @@ static PIPE_THREAD_ROUTINE(radeon_drm_cs_emit_ioctl, param)
}
ws->ncs = 0;
pipe_mutex_unlock(ws->cs_stack_lock);
- return NULL;
+ return 0;
}
DEBUG_GET_ONCE_BOOL_OPTION(thread, "RADEON_THREAD", TRUE)