gallium/util: replace pipe_thread_setname() with u_thread_setname()
[mesa.git] / src / gallium / auxiliary / os / os_thread.h
index ecd8f8a5e979713df04f5073824a56e194630daf..b6e0698da617bdb16f780c07ce1c7348d5b4d118 100644 (file)
 #include "util/u_thread.h"
 
 
-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;
-}
-
-
 static inline int pipe_thread_is_self( thrd_t thread )
 {
 #if defined(HAVE_PTHREAD)