mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 00:20:29 +00:00
Conditionally report initial thread event.
This commit is contained in:
parent
4faae5e992
commit
7a4cd8d366
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144925
|
@ -309,6 +309,7 @@ _libpthread_init(struct pthread *curthread)
|
|||
_thr_initial = curthread;
|
||||
SIGDELSET(oldset, SIGCANCEL);
|
||||
__sys_sigprocmask(SIG_SETMASK, &oldset, NULL);
|
||||
if (_thread_event_mask & TD_CREATE)
|
||||
_thr_report_creation(curthread, curthread);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue