RTEMS CPU Kit with SuperCore
4.11.2
|
Try to Lock Mutex. More...
#include <errno.h>
#include <pthread.h>
#include <rtems/system.h>
#include <rtems/score/coremuteximpl.h>
#include <rtems/score/watchdog.h>
#include <rtems/posix/muteximpl.h>
#include <rtems/posix/priorityimpl.h>
#include <rtems/posix/time.h>
Functions | |
int | pthread_mutex_trylock (pthread_mutex_t *mutex) |
11.3.3 Locking and Unlocking a Mutex, P1003.1c/Draft 10, p. More... | |
Try to Lock Mutex.
int pthread_mutex_trylock | ( | pthread_mutex_t * | mutex | ) |
11.3.3 Locking and Unlocking a Mutex, P1003.1c/Draft 10, p.
93
NOTE: P1003.4b/D8 adds pthread_mutex_timedlock(), p. 29
References _POSIX_Mutex_Lock_support(), and WATCHDOG_NO_TIMEOUT.