mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 23:57:30 -04:00
Conditionally report initial thread event.
This commit is contained in:
parent
4faae5e992
commit
7a4cd8d366
1 changed files with 2 additions and 1 deletions
|
|
@ -309,7 +309,8 @@ _libpthread_init(struct pthread *curthread)
|
|||
_thr_initial = curthread;
|
||||
SIGDELSET(oldset, SIGCANCEL);
|
||||
__sys_sigprocmask(SIG_SETMASK, &oldset, NULL);
|
||||
_thr_report_creation(curthread, curthread);
|
||||
if (_thread_event_mask & TD_CREATE)
|
||||
_thr_report_creation(curthread, curthread);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue