Skip to content

Commit

Permalink
[DEBUG_ONLY] In case a core is about to be dumped for SimpleThreadAPI…
Browse files Browse the repository at this point in the history
… mode, do a PRN_ERROR so any assert failures etc. get printed out in .mje files too (helps analyze test failures)
  • Loading branch information
nars1 committed Mar 25, 2019
1 parent e723c73 commit c5c927b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sr_unix/ch_cond_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ void ch_cond_core(void)
* does not inherit the C-stack of all active threads). Therefore in debug builds at least,
* dump a core right away so we have more information for debugging.
*/
PRN_ERROR;
DUMP_CORE; /* will not return */
}
# endif
Expand Down

0 comments on commit c5c927b

Please sign in to comment.