- Member miosix::Thread::do_terminate ()
- Called by a thread that wants to delete itself. This method does not return.
The idle thread will deallocate the thread resources. Another way for a thread to terminate is to just return from the thread's main function (entry point)
This method is deprecated and will be removed in future versions of the kernel. The reason why it is deprecated is that it can cause memory leaks. Consider this piece of code:
Generated on Fri Jun 19 15:19:04 2009 for Miosix by