diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-17 17:40:52 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-17 17:42:25 +0200 |
commit | 98d2adb935e280f71243549a4dd31eac29c49c27 (patch) | |
tree | f50b6bace00d51366fd0af16eccaff58e13569bd /cpukit/libtest/t-test-thread-switch.c | |
parent | 4897a82dec8c74b56cf271762f6a1d7dbd337190 (diff) |
libtest: Fix T_thread_switch_record()
If RTEMS_DEBUG is not defined, then we have to explicitly set the node
off the chain.
Update #3199.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libtest/t-test-thread-switch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libtest/t-test-thread-switch.c b/cpukit/libtest/t-test-thread-switch.c index dd8d256c93..87ad4651fc 100644 --- a/cpukit/libtest/t-test-thread-switch.c +++ b/cpukit/libtest/t-test-thread-switch.c @@ -72,6 +72,7 @@ T_thread_switch_destroy(T_destructor *dtor) ctx = RTEMS_CONTAINER_OF(dtor, T_thread_switch_context, dtor); _User_extensions_Remove_set(&ctx->ext); + _Chain_Set_off_chain(&ctx->ext.Node); } static void |