tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
sem_t
tango
stdc
posix
semaphore
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
struct
sem_t
version(linux)
extern (
C
)
struct
sem_t {
_pthread_fastlock
__sem_lock
;
int
__sem_value
;
void
*
__sem_waiting
;
}
alias
sem_t
=
int
alias
sem_t
=
void
*
struct
sem_t
Members
Variables
__sem_lock
_pthread_fastlock
__sem_lock
;
Undocumented in source.
__sem_value
int
__sem_value
;
Undocumented in source.
__sem_waiting
void
*
__sem_waiting
;
Undocumented in source.
Meta
Source
See Implementation
tango
stdc
posix
semaphore
aliases
kern_return_t
mach_port_t
semaphore_t
sync_policy_t
task_t
thread_t
enums
KERN_RETURN
MACH_SYNC_POLICY
functions
mach_task_self
sem_close
sem_destroy
sem_getvalue
sem_init
sem_open
sem_post
sem_timedwait
sem_trywait
sem_unlink
sem_wait
semaphore_create
semaphore_destroy
semaphore_signal
semaphore_signal_all
semaphore_signal_thread
semaphore_timedwait
semaphore_timedwait_signal
semaphore_wait
semaphore_wait_signal
structs
sem_t
variables
SEM_FAILED
SEM_MAGIC
SEM_USER