mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-03 18:47:54 +03:00
Fix pthread_sigmask() usage to block all signals.
This commit is contained in:
parent
57beeb2fcb
commit
aa363f9388
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ background_thread_create_signals_masked(pthread_t *thread,
|
|||
* an empty signal set.
|
||||
*/
|
||||
sigset_t set;
|
||||
sigemptyset(&set);
|
||||
sigfillset(&set);
|
||||
sigset_t oldset;
|
||||
int mask_err = pthread_sigmask(SIG_SETMASK, &set, &oldset);
|
||||
if (mask_err != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue