libc2

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

func Xpthread_cond_broadcast(tls *libc.TLS, cond uintptr) int32

int pthread_cond_broadcast(pthread_cond_t *cond);

func Xpthread_cond_destroy

func Xpthread_cond_destroy(tls *libc.TLS, cond uintptr) int32

int pthread_cond_destroy(pthread_cond_t *cond);

func Xpthread_cond_init

func Xpthread_cond_init(tls *libc.TLS, cond, attr uintptr) int32

int pthread_cond_init(pthread_cond_t *restrict cond, const pthread_condattr_t *restrict attr);

func Xpthread_cond_signal

func Xpthread_cond_signal(tls *libc.TLS, cond uintptr) int32

int pthread_cond_signal(pthread_cond_t *cond);

func Xpthread_cond_wait

func Xpthread_cond_wait(tls *libc.TLS, cond, mutex uintptr) int32

int pthread_cond_wait(pthread_cond_t *restrict cond, pthread_mutex_t *restrict mutex);

func Xpthread_create

func Xpthread_create(tls *libc.TLS, thread, attr, start_routine, arg uintptr) int32

int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg);

func Xpthread_detach

func Xpthread_detach(tls *libc.TLS, thread types.Size_t) int32

int pthread_detach(pthread_t thread);

func Xpthread_mutex_destroy

func Xpthread_mutex_destroy(tls *libc.TLS, mutex uintptr) int32

int pthread_mutex_destroy(pthread_mutex_t *mutex);

func Xpthread_mutex_init

func Xpthread_mutex_init(tls *libc.TLS, mutex, attr uintptr) int32

int pthread_mutex_init(pthread_mutex_t *restrict mutex, const pthread_mutexattr_t *restrict attr);

func Xpthread_mutex_lock

func Xpthread_mutex_lock(tls *libc.TLS, mutex uintptr) int32

int pthread_mutex_lock(pthread_mutex_t *mutex);

func Xpthread_mutex_trylock

func Xpthread_mutex_trylock(tls *libc.TLS, mutex uintptr) int32

int pthread_mutex_trylock(pthread_mutex_t *mutex);

func Xpthread_mutex_unlock

func Xpthread_mutex_unlock(tls *libc.TLS, mutex uintptr) int32

int pthread_mutex_unlock(pthread_mutex_t *mutex);

func Xsched_yield

func Xsched_yield(tls *libc.TLS) int32

int sched_yield(void);

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL