Make use of pthread_set_name_np(3) on FreeBSD.

This commit is contained in:
Edward Tomasz Napierala
2018-10-06 16:43:07 +01:00
committed by Qi Wang
parent 936bc2aa15
commit ceba1dde27
2 changed files with 5 additions and 0 deletions

View File

@@ -31,6 +31,9 @@
# include <sys/uio.h>
# endif
# include <pthread.h>
# ifdef __FreeBSD__
# include <pthread_np.h>
# endif
# include <signal.h>
# ifdef JEMALLOC_OS_UNFAIR_LOCK
# include <os/lock.h>