/// Insert a Thread into the Delay list sorted by Delay (Lowest at Head).
static void osRtxThreadDelayInsert (os_thread_t *thread, uint32_t delay) {
os_thread_t *prev, *next;
if (delay == osWaitForever) {
prev = NULL;
next = osRtxInfo.thread.wait_list;
while (next != NULL) {
prev = next;
next = next->delay_next;
}
在上面的while循环中出不来了,哪位遇到过啊,可能是哪方面的问题啊?这个函数什么作用呢?