Hello, Fabian...:-)
In the source of the thread.cpp file, the wrapper function has:
// Returning from a thread is a fatal error, nothing more to
// do here than call the fatal error handler.
rtos::FailureHandler::fatal(rtos::FailureCode::returnFromThread());
Please, can you explain what is the reason for this approach? What is so criminal in returning from a thread?
BTW, the RTEMS API even has the task restart possibility.
Thank you for the clarification.
Hello, Fabian...:-)
In the source of the thread.cpp file, the wrapper function has:
// Returning from a thread is a fatal error, nothing more to
// do here than call the fatal error handler.
rtos::FailureHandler::fatal(rtos::FailureCode::returnFromThread());
Please, can you explain what is the reason for this approach? What is so criminal in returning from a thread?
BTW, the RTEMS API even has the task restart possibility.
Thank you for the clarification.