Lines Matching defs:rt_thread
543 struct rt_thread struct
546 char name[RT_NAME_MAX]; /**< the name of thread */
547 rt_uint8_t type; /**< type of object */
548 rt_uint8_t flags; /**< thread's flags */
551 void *module_id; /**< id of application module */
554 rt_list_t list; /**< the object list */
555 rt_list_t tlist; /**< the thread list */
558 void *sp; /**< stack point */
559 void *entry; /**< entry */
560 void *parameter; /**< parameter */
561 void *stack_addr; /**< stack address */
562 rt_uint32_t stack_size; /**< stack size */
565 rt_err_t error; /**< error code */
567 rt_uint8_t stat; /**< thread status */
570 rt_uint8_t bind_cpu; /**< thread is bind to cpu */
571 rt_uint8_t oncpu; /**< process on cpu` */
573 rt_uint16_t scheduler_lock_nest; /**< scheduler lock count */
574 rt_uint16_t cpus_lock_nest; /**< cpus lock count */
578 rt_uint8_t current_priority; /**< current priority */
579 rt_uint8_t init_priority; /**< initialized priority */
581 rt_uint8_t number;
582 rt_uint8_t high_mask;
606 void (*cleanup)(struct rt_thread *tid); /**< cleanup function when thread exit */ argument
615 typedef struct rt_thread *rt_thread_t; argument