Mesa (master): gallium/util: remove unused pipe_thread_destroy()
Timothy Arceri
tarceri at kemper.freedesktop.org
Mon Mar 6 22:14:01 UTC 2017
Module: Mesa
Branch: master
Commit: 60a2c2507d4df92fcc56d9772a427ef9638757f2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=60a2c2507d4df92fcc56d9772a427ef9638757f2
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Mon Mar 6 11:58:28 2017 +1100
gallium/util: remove unused pipe_thread_destroy()
Reviewed-by: Plamena Manolova <plamena.manolova at intel.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
---
src/gallium/auxiliary/os/os_thread.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/gallium/auxiliary/os/os_thread.h b/src/gallium/auxiliary/os/os_thread.h
index 2aad3e2..2292123 100644
--- a/src/gallium/auxiliary/os/os_thread.h
+++ b/src/gallium/auxiliary/os/os_thread.h
@@ -68,11 +68,6 @@ static inline thrd_t pipe_thread_create(int (*routine)(void *), void *param)
return thread;
}
-static inline int pipe_thread_destroy( thrd_t thread )
-{
- return thrd_detach( thread );
-}
-
static inline void pipe_thread_setname( const char *name )
{
#if defined(HAVE_PTHREAD)
More information about the mesa-commit
mailing list