posix: semaphore: implement sem_open()
, sem_unlink()
& sem_close()
Implements `sem_open()`, `sem_unlink()` & `sem_close()` functions and added tests for them. Updated existing tests and POSIX docs. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
parent
25b0083ee9
commit
abb21d48d9
5 changed files with 449 additions and 3 deletions
|
@ -8,3 +8,11 @@ config SEM_VALUE_MAX
|
|||
range 1 32767
|
||||
help
|
||||
Maximum semaphore count in POSIX compliant Application.
|
||||
|
||||
config SEM_NAMELEN_MAX
|
||||
int "Maximum name length"
|
||||
default 16
|
||||
range 2 255
|
||||
help
|
||||
Maximum length of name for a named semaphore.
|
||||
The max value of 255 corresponds to {NAME_MAX}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue