revert between 56095 -> 55830 in arch
[AROS.git] / compiler / pthread / pthread.conf
bloba27eebe0d38262531cbff170f300e06699b5f601
1 ##begin config
2 basename PThread
3 libbase PThreadBase
4 version 2.0
5 ##end config
6 ##begin cdef
7 #include <exec/semaphores.h>
8 #include <semaphore.h>
9 #include <pthread.h>
10 ##end cdef
11 ##begin functionlist
12 int pthread_create(pthread_t* thread, const pthread_attr_t* attr, void* (*func) (void*), void* arg)
13 int pthread_cancel(pthread_t thread)
14 int pthread_equal(pthread_t t1, pthread_t t2)
15 int pthread_join(pthread_t thread, void** exit_value)
16 pthread_t pthread_self(void)
17 int pthread_suspend_np(pthread_t thread)
18 int pthread_continue_np(pthread_t thread)
19 int pthread_setcancelstate(int newstate, int* oldstate)
20 int pthread_setcanceltype(int type, int* oldtype)
21 int pthread_attr_destroy(pthread_attr_t* attr)
22 int pthread_attr_init(pthread_attr_t* attr)
23 int pthread_attr_setstacksize(pthread_attr_t* attr, size_t stacksize)
24 int pthread_cond_destroy(pthread_cond_t* cond)
25 int pthread_cond_init(pthread_cond_t* cond, const pthread_condattr_t* attr)
26 int pthread_cond_signal(pthread_cond_t* cond)
27 int pthread_cond_timedwait(pthread_cond_t* cond, pthread_mutex_t* mutex, const struct timespec* abstime)
28 int pthread_mutex_init(pthread_mutex_t* mutex, const pthread_mutexattr_t* attr)
29 int pthread_mutex_destroy(pthread_mutex_t* mutex)
30 int pthread_mutex_lock(pthread_mutex_t* mutex)
31 int pthread_mutex_unlock(pthread_mutex_t* mutex)
32 int pthread_mutexattr_destroy(pthread_mutexattr_t* attr)
33 int pthread_mutexattr_init(pthread_mutexattr_t* attr)
34 int pthread_mutexattr_settype(pthread_mutexattr_t* attr, int type)
35 int sem_destroy(sem_t* sem)
36 int sem_init(sem_t* sem, int shared, unsigned int value)
37 int sem_post(sem_t* sem)
38 int sem_wait(sem_t* sem)
39 void pthread_exit(void * a)
40 void *pthread_getspecific(pthread_key_t k)
41 int   pthread_setspecific(pthread_key_t k, const void * s)
42 int   pthread_key_create(pthread_key_t * k , void (*f)(void *))
43 int   pthread_cond_broadcast(pthread_cond_t * c)
44 int   pthread_cond_wait(pthread_cond_t * c, pthread_mutex_t * m)
45 .version 2
46 int pthread_mutex_trylock(pthread_mutex_t* mutex)
47 ##end functionlist