projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d82d8be
)
gallium/util: remove unused pipe_thread_destroy()
author
Timothy Arceri
<tarceri@itsqueeze.com>
Mon, 6 Mar 2017 00:58:28 +0000
(11:58 +1100)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Mon, 6 Mar 2017 22:12:16 +0000
(09:12 +1100)
Reviewed-by: Plamena Manolova <plamena.manolova@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/os/os_thread.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/os/os_thread.h
b/src/gallium/auxiliary/os/os_thread.h
index 2aad3e2d728f7e943584b467c7a814b300e4fb62..22921231c5d16b2c6d12f03723866770dd92e028 100644
(file)
--- 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)