Fix multithread awaking.

This commit is contained in:
tuyuyang
2024-06-23 08:59:51 +08:00
parent c2e21257d0
commit 99899900a1
42 changed files with 56 additions and 37 deletions
@@ -182,7 +182,6 @@ void ipc_server_loop(struct IpcNode* ipc_node)
/* handle each session */
for (int i = 0; i < NR_MAX_SESSION; i++) {
if (session_list[i].buf == NULL) {
yield(SYS_TASK_YIELD_NO_REASON);
break;
}
cur_sess_id = session_list[i].id;