TSD: Add a tsd_nominal_list death assertion.
A thread should have had its state transition away from nominal before it dies. This change adds that to the list of thread death assertions.
This commit is contained in:
parent
3aba072cef
commit
013ab26c86
@ -238,6 +238,7 @@ tsd_data_init(tsd_t *tsd) {
|
||||
static void
|
||||
assert_tsd_data_cleanup_done(tsd_t *tsd) {
|
||||
assert(!tsd_nominal(tsd));
|
||||
assert(!tsd_in_nominal_list(tsd));
|
||||
assert(*tsd_arenap_get_unsafe(tsd) == NULL);
|
||||
assert(*tsd_iarenap_get_unsafe(tsd) == NULL);
|
||||
assert(*tsd_arenas_tdata_bypassp_get_unsafe(tsd) == true);
|
||||
|
Loading…
Reference in New Issue
Block a user