fix[mutex]: valgrind uninitialised values

This commit is contained in:
Martin Eyben 2025-03-28 14:42:15 +01:00
parent 34c98beaea
commit 9b2e156869

View File

@ -319,6 +319,7 @@ void __attribute__((constructor)) setup_main_thread()
main->status = 0;
main->retvalue = NULL;
main->last_waited = NULL;
main->mutex_fifo_entry = NULL;
running = main;
// Create a context with static stack to clean everything at the end.