24 void *(*start_routine)(
void*),
void *restrict arg);
void pthread_exit(void *value_ptr)
Definition: pthread.c:20
int pthread_create(pthread_t *restrict thread, const pthread_attr_t *restrict attr, void *(*start_routine)(void *), void *restrict arg)
Definition: pthread.c:9
int pthread_attr_t
Created as dummy.
Definition: pthread.h:11
int pthread_spin_unlock(pthread_spinlock_t *lock)
Definition: pthread.c:36
int pthread_spin_lock(pthread_spinlock_t *lock)
Definition: pthread.c:31
int pthread_spin_destroy(pthread_spinlock_t *lock)
Definition: pthread.c:41
int pthread_spinlock_t
Represents a spinlock.
Definition: pthread.h:12
int pthread_spin_init(pthread_spinlock_t *lock, int pshared)
Definition: pthread.c:26
pid_t pthread_t
Represents a thread.
Definition: pthread.h:10