/* Wakeup the first suspened thread in the list.  */
rt_inline rt_err_t rt_channel_list_resume(rt_list_t *list)
/* Wakeup the first suspened thread in the list.  */
rt_inline rt_err_t rt_channel_list_resume(rt_list_t *list)
{
    struct rt_thread *thread;
    thread = rt_list_entry(list->next, struct rt_thread, tlist);
    rt_thread_resume(thread);
    return RT_EOK;
}