Documentation ¶
Index ¶
- Variables
- func Xpthread_cond_broadcast(tls *libc.TLS, cond uintptr) int32
- func Xpthread_cond_destroy(tls *libc.TLS, cond uintptr) int32
- func Xpthread_cond_init(tls *libc.TLS, cond, attr uintptr) int32
- func Xpthread_cond_signal(tls *libc.TLS, cond uintptr) int32
- func Xpthread_cond_wait(tls *libc.TLS, cond, mutex uintptr) int32
- func Xpthread_create(tls *libc.TLS, thread, attr, start_routine, arg uintptr) int32
- func Xpthread_detach(tls *libc.TLS, thread types.Pthread_t) int32
- func Xpthread_mutex_destroy(tls *libc.TLS, mutex uintptr) int32
- func Xpthread_mutex_init(tls *libc.TLS, mutex, attr uintptr) int32
- func Xpthread_mutex_lock(tls *libc.TLS, mutex uintptr) int32
- func Xpthread_mutex_trylock(tls *libc.TLS, mutex uintptr) int32
- func Xpthread_mutex_unlock(tls *libc.TLS, mutex uintptr) int32
- func Xsched_yield(tls *libc.TLS) int32
Constants ¶
This section is empty.
Variables ¶
var CAPI = map[string]struct{}{
"pthread_cond_broadcast": {},
"pthread_cond_destroy": {},
"pthread_cond_init": {},
"pthread_cond_signal": {},
"pthread_cond_wait": {},
"pthread_create": {},
"pthread_detach": {},
"pthread_mutex_destroy": {},
"pthread_mutex_init": {},
"pthread_mutex_lock": {},
"pthread_mutex_trylock": {},
"pthread_mutex_unlock": {},
"sched_yield": {},
}
Functions ¶
func Xpthread_cond_broadcast ¶
int pthread_cond_broadcast(pthread_cond_t *cond);
func Xpthread_cond_destroy ¶
int pthread_cond_destroy(pthread_cond_t *cond);
func Xpthread_cond_init ¶
int pthread_cond_init(pthread_cond_t *restrict cond, const pthread_condattr_t *restrict attr);
func Xpthread_cond_signal ¶
int pthread_cond_signal(pthread_cond_t *cond);
func Xpthread_cond_wait ¶
int pthread_cond_wait(pthread_cond_t *restrict cond, pthread_mutex_t *restrict mutex);
func Xpthread_create ¶
int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg);
func Xpthread_detach ¶
int pthread_detach(pthread_t thread);
func Xpthread_mutex_destroy ¶
int pthread_mutex_destroy(pthread_mutex_t *mutex);
func Xpthread_mutex_init ¶
int pthread_mutex_init(pthread_mutex_t *restrict mutex, const pthread_mutexattr_t *restrict attr);
func Xpthread_mutex_lock ¶
int pthread_mutex_lock(pthread_mutex_t *mutex);
func Xpthread_mutex_trylock ¶
int pthread_mutex_trylock(pthread_mutex_t *mutex);
func Xpthread_mutex_unlock ¶
int pthread_mutex_unlock(pthread_mutex_t *mutex);
Types ¶
This section is empty.