Expand description
Semaphore syscall handlers.
Provides capability-enforced semaphore operations: create, wait, try_wait, post, close.
Functionsยง
- resolve_
sem ๐ - sys_
sem_ close - SYS_SEM_CLOSE: destroy a semaphore.
- sys_
sem_ create - SYS_SEM_CREATE: create a semaphore with an initial count.
- sys_
sem_ post - SYS_SEM_POST: increment the semaphore (wake a waiter).
- sys_
sem_ trywait - SYS_SEM_TRYWAIT: non-blocking decrement.
- sys_
sem_ wait - SYS_SEM_WAIT: decrement the semaphore (blocking if zero).