bubel-ecs ~master (2023-04-27T10:30:22Z)
Dub
Repo
Semaphore
mmutils
thread_pool
Undocumented in source.
struct
Semaphore
struct
Semaphore
struct
Semaphore
version(!MM_USE_POSIX_THREADS && !D_BetterC)
struct
Semaphore {
D_Semaphore
sem
;
void
initialize
();
void
wait
();
bool
tryWait
();
bool
timedWait
(int usecs);
void
post
();
void
destroy
();
}
Members
Functions
destroy
void
destroy
()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void
initialize
()
Undocumented in source. Be warned that the author may not have intended to support it.
post
void
post
()
Undocumented in source. Be warned that the author may not have intended to support it.
timedWait
bool
timedWait
(int usecs)
Undocumented in source. Be warned that the author may not have intended to support it.
tryWait
bool
tryWait
()
Undocumented in source. Be warned that the author may not have intended to support it.
wait
void
wait
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
sem
D_Semaphore
sem
;
Undocumented in source.
Meta
Source
See Implementation
mmutils
thread_pool
aliases
JobDelegate
btex_fptr
clockid_t
time_t
enums
MemoryOrder
functions
_beginthreadex
atomicLoad
atomicOp
atomicStore
cas
clock_gettime
disposeArray
disposeVar
emscripten_atomic_add_u16
emscripten_atomic_add_u32
emscripten_atomic_add_u8
emscripten_atomic_cas_u16
emscripten_atomic_cas_u32
emscripten_atomic_cas_u8
emscripten_atomic_load_u16
emscripten_atomic_load_u32
emscripten_atomic_load_u8
emscripten_atomic_store_u16
emscripten_atomic_store_u32
emscripten_atomic_store_u8
emscripten_atomic_sub_u16
emscripten_atomic_sub_u32
emscripten_atomic_sub_u8
emscripten_get_now
free
instructionPause
makeVar
makeVarArray
malloc
memcpy
pthread_create
pthread_exit
pthread_join
realloc
sem_destroy
sem_init
sem_post
sem_timedwait
sem_trywait
sem_wait
useconds
manifest constants
CLOCK_REALTIME
structs
FILE
JobData
JobLog
JobQueue
JobsGroup
Semaphore
Thread
ThreadData
ThreadPool
pthread_attr_t
pthread_t
sem_t
timespec