del old ipc code && sema support timeout

This commit is contained in:
zhangzheng
2025-02-13 11:18:19 +08:00
parent 00804aaaaa
commit f86daa3169
55 changed files with 359 additions and 182 deletions

View File

@@ -61,7 +61,7 @@ again:
rlen = cons_read((uint8_t *)data, len);
if (rlen <= 0)
{
u_sema_down(SEMA_PROT);
u_sema_down(SEMA_PROT, 0, NULL);
goto again;
}
return rlen;