---
 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
@@ -61,25 +61,20 @@ static inline thrd_t pipe_thread_create(int (*routine)(void 
*), void *param)
 #else
    int ret;
    ret = thrd_create( &thread, routine, param );
 #endif
    if (ret)
       return 0;
 
    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)
 #  if defined(__GNU_LIBRARY__) && defined(__GLIBC__) && 
defined(__GLIBC_MINOR__) && \
       (__GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12))
    pthread_setname_np(pthread_self(), name);
 #  endif
 #endif
    (void)name;
 }
-- 
2.9.3

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to