issues
search
nanvix
/
kernel
Research Operating System Kernel
https://github.com/nanvix
MIT License
61
stars
8
forks
source link
[pm] F: Feature kernel semaphore semop
#411
Closed
rafael0121
closed
6 months ago
rafael0121
commented
6 months ago
Description
This PR closes #392
Summary of Changes
Improve comments and remove legacy functions, also fix return of the semctl and semget, adding default return errno.
Implement semop function and test, also improve other semctl and semget tests, adding constants and readability.
Create kernel's semaphore and init semaphore table, fix bugs due to legacy functions.
Files Affected:
include/nanvix/kernel/pm/semaphore.h
src/kernel/kcall/mod.c
src/kernel/kcall/sem/semctl.c
src/kernel/kcall/sem/semget.c
src/kernel/kcall/sem/semop.c
src/kernel/pm/process.c
src/kernel/pm/semaphore.c
src/servers/test/src/test.rs
Description
Summary of Changes
Files Affected: