123456789101112131415161718192021222324252627282930313233343536373839 |
- #ifndef _UCLIBC_PTHREAD_H
- #define _UCLIBC_PTHREAD_H
- #ifndef _PTHREAD_H
- #error Always include <pthread.h> rather than <bits/uClibc_pthread.h>
- #endif
- extern int __pthread_mutex_init (pthread_mutex_t *__restrict __mutex,
- __const pthread_mutexattr_t *__restrict
- __mutex_attr) __THROW;
- extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex) __THROW;
- extern int __pthread_mutex_lock (pthread_mutex_t *__mutex) __THROW;
- extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex) __THROW;
- #endif
|