src/kernel/task/threads.c
/**
 * @note add a thread to scheduler to active it.
 * @param self
 */
@note add a thread to scheduler to active it.
@param self
@note add a thread to scheduler to active it . @param self
void active_creating_thread(thread_t * self){
    self->status = THREADS_CREATED;
    scheduler_add(self);
}
void active_creating_thread ( thread_t * self ) { self -> status = THREADS_CREATED ; scheduler_add ( self ) ; }
@note add a thread to scheduler to active it.
@note add a thread to scheduler to active it .
// need check the object magic number?