Implement ipc_netsockdelete() syscall and automatic dangling socket cleanup

This commit is contained in:
2025-10-29 21:21:35 +01:00
parent 7db6a8e130
commit 4417141216
12 changed files with 107 additions and 7 deletions

View File

@ -13,6 +13,7 @@
#include "vfs/vfs.h"
#include "bootinfo/bootinfo.h"
#include "ipc/pipe/pipe.h"
#include "ipc/netsock/netsock.h"
#include "sysdefs/proc.h"
#include "sysdefs/fs.h"
#include "time/time.h"
@ -246,6 +247,7 @@ void proc_reaper(void) {
void proc_sched(void *cpustate) {
hal_intr_disable();
sched_ticks++;
ipc_netsock_cleanup_dangling();
update_time();
pico_stack_tick();