Go to the documentation of this file.
17 #ifndef PTHREAD_MUTEX_H
18 #define PTHREAD_MUTEX_H
int pthread_mutex_getprioceiling(const pthread_mutex_t *mutex, int *prioceiling)
Not implemented, yet.
int pthread_mutex_trylock(pthread_mutex_t *mutex)
Try to lock a mutex.
int pthread_mutex_timedlock(pthread_mutex_t *mutex, const struct timespec *abstime)
Not implemented, yet.
int pthread_mutex_lock(pthread_mutex_t *mutex)
Lock and hold a mutex.
This type is unused right now, and only exists for POSIX compatibility.
int pthread_mutex_setprioceiling(pthread_mutex_t *mutex, int prioceiling, int *old_ceiling)
Not implemented, yet.
int pthread_mutex_destroy(pthread_mutex_t *mutex)
Destroy a mutex.
Mutex for thread synchronization.
mutex_t pthread_mutex_t
Pthread mutexes are quite the same as RIOT mutexes.
int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexattr)
Initialize a mutex.
int pthread_mutex_unlock(pthread_mutex_t *mutex)
Unlock a mutex.