nulib ~master (2025-12-14T08:31:17.4307625)
Dub
Repo
sem_trywait
nulib
posix
threading
semaphore
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
version(!Darwin && Posix)
extern (
C
) @
nogc
nothrow extern
int
sem_trywait
(
sem_t
*
)
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