Mask signals during background thread creation.

This prevents signals from being inadvertently delivered to background
threads.
This commit is contained in:
Jason Evans
2017-06-19 20:35:33 -07:00
committed by Qi Wang
parent d35c037e03
commit 37f3fa0941
2 changed files with 36 additions and 3 deletions

View File

@@ -22,6 +22,7 @@
# include <sys/uio.h>
# endif
# include <pthread.h>
# include <signal.h>
# ifdef JEMALLOC_OS_UNFAIR_LOCK
# include <os/lock.h>
# endif