/* Change Logs: Date Author Notes  Meco Man first version  */
void __rt_libc_exit(int status)
/* Change Logs: Date Author Notes  Meco Man first version  */
void __rt_libc_exit(int status)
{
    rt_thread_t self = rt_thread_self();
    if (self != RT_NULL)
    {
        rt_kprintf("thread:%s exit:%d!\n", self->name, status);
        rt_thread_control(self, RT_THREAD_CTRL_CLOSE, RT_NULL);
    }
}