Don't report death event to debugger if it is a forced exit.
This commit is contained in:
parent
70e79fbb0d
commit
697b4b49be
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176861
@ -130,7 +130,7 @@ _pthread_exit(void *status)
|
||||
if (curthread->tlflags & TLFLAGS_DETACHED)
|
||||
THR_GCLIST_ADD(curthread);
|
||||
THREAD_LIST_UNLOCK(curthread);
|
||||
if (SHOULD_REPORT_EVENT(curthread, TD_DEATH))
|
||||
if (!curthread->force_exit && SHOULD_REPORT_EVENT(curthread, TD_DEATH))
|
||||
_thr_report_death(curthread);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user