|
|
@ -144,7 +144,7 @@ rt_bool_t rt_sched_is_locked(void); |
|
|
* NOTE: user should NEVER use these APIs directly. See rt_thread_.* or IPC |
|
|
* NOTE: user should NEVER use these APIs directly. See rt_thread_.* or IPC |
|
|
* methods instead. |
|
|
* methods instead. |
|
|
*/ |
|
|
*/ |
|
|
#if defined(__RT_KERNEL_SOURCE__) || defined(__RT_IPC_SOURCE__) |
|
|
//#if defined(__RT_KERNEL_SOURCE__) || defined(__RT_IPC_SOURCE__)
|
|
|
|
|
|
|
|
|
/* thread initialization and startup routine */ |
|
|
/* thread initialization and startup routine */ |
|
|
void rt_sched_thread_init_ctx(struct rt_thread *thread, rt_uint32_t tick, rt_uint8_t priority); |
|
|
void rt_sched_thread_init_ctx(struct rt_thread *thread, rt_uint32_t tick, rt_uint8_t priority); |
|
|
@ -171,7 +171,7 @@ rt_err_t rt_sched_thread_timer_start(struct rt_thread *thread); |
|
|
void rt_sched_insert_thread(struct rt_thread *thread); |
|
|
void rt_sched_insert_thread(struct rt_thread *thread); |
|
|
void rt_sched_remove_thread(struct rt_thread *thread); |
|
|
void rt_sched_remove_thread(struct rt_thread *thread); |
|
|
|
|
|
|
|
|
#endif /* defined(__RT_KERNEL_SOURCE__) || defined(__RT_IPC_SOURCE__) */ |
|
|
//#endif /* defined(__RT_KERNEL_SOURCE__) || defined(__RT_IPC_SOURCE__) */
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
#ifdef __cplusplus |
|
|
} |
|
|
} |
|
|
|