nulib ~master (2025-12-14T08:31:17.4307625)
Dub
Repo
_nu_semaphore_new
nulib
posix
threading
semaphore
Undocumented in source. Be warned that the author may not have intended to support it.
export extern (
C
) @
trusted
@
nogc
nothrow
NativeSemaphore
_nu_semaphore_new
(
uint
count
)
Meta
Source
See Implementation
nulib
posix
threading
semaphore
aliases
clock_res_t
kern_return_t
semaphore_t
task_t
classes
PosixSemaphore
functions
_nu_semaphore_new
clock_gettime
mach_task_self
sem_destroy
sem_init
sem_post
sem_timedwait
sem_trywait
sem_wait
semaphore_create
semaphore_destroy
semaphore_signal
semaphore_timedwait
semaphore_wait
manifest constants
KERN_ABORTED
KERN_OPERATION_TIMED_OUT
SEM_FAILED
SYNC_POLICY_FIFO
structs
mach_timespec_t
sem_t
timespec
variables
KERN_SUCCESS