nulib.posix.threading.semaphore

POSIX Implementation for nulib.threading.internal.semaphore

Members

Aliases

clock_res_t
alias clock_res_t = int
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
kern_return_t
alias kern_return_t = int
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
semaphore_t
alias semaphore_t = uint
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
task_t
alias task_t = uint
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Classes

PosixSemaphore
class PosixSemaphore

Native implementation of a semaphore.

Functions

_nu_semaphore_new
NativeSemaphore _nu_semaphore_new(uint count)
Undocumented in source. Be warned that the author may not have intended to support it.
clock_gettime
int clock_gettime(int , timespec* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
mach_task_self
task_t mach_task_self()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sem_destroy
int sem_destroy(sem_t* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sem_init
int sem_init(sem_t* , int , uint )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sem_post
int sem_post(sem_t* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sem_timedwait
int sem_timedwait(sem_t* , timespec* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sem_trywait
int sem_trywait(sem_t* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sem_wait
int sem_wait(sem_t* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
semaphore_create
kern_return_t semaphore_create(task_t , semaphore_t* , int , int )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
semaphore_destroy
kern_return_t semaphore_destroy(task_t , semaphore_t )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
semaphore_signal
kern_return_t semaphore_signal(semaphore_t )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
semaphore_timedwait
kern_return_t semaphore_timedwait(semaphore_t , mach_timespec_t )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
semaphore_wait
kern_return_t semaphore_wait(semaphore_t )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

KERN_ABORTED
enum KERN_ABORTED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
KERN_OPERATION_TIMED_OUT
enum KERN_OPERATION_TIMED_OUT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SEM_FAILED
enum SEM_FAILED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SYNC_POLICY_FIFO
enum SYNC_POLICY_FIFO;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

mach_timespec_t
struct mach_timespec_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sem_t
struct sem_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
timespec
struct timespec
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Variables

KERN_SUCCESS
enum kern_return_t KERN_SUCCESS;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta

Authors

Luna Nielsen