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
alias
sem_t
=
int
alias
sem_t
=
void
*
struct
sem_t
version(!linux && !OSX && !FreeBSD && solaris)
extern (
C
)
struct
sem_t {
uint32_t
sem_count
;
uint16_t
sem_type
;
uint16_t
sem_magic
;
upad64_t
[
3
]
sem_pad1
;
upad64_t
[
2
]
sem_pad2
;
}
Members
Variables
sem_count
uint32_t
sem_count
;
Undocumented in source.
sem_magic
uint16_t
sem_magic
;
Undocumented in source.
sem_pad1
upad64_t
[
3
]
sem_pad1
;
Undocumented in source.
sem_pad2
upad64_t
[
2
]
sem_pad2
;
Undocumented in source.
sem_type
uint16_t
sem_type
;
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