RTEMS CPU Kit with SuperCore
Functions
mutexlocksupp.c File Reference

Support Call to function Enables Locking of Mutex Object. 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>
Include dependency graph for mutexlocksupp.c:

Functions

int _POSIX_Mutex_Lock_support (pthread_mutex_t *mutex, bool blocking, Watchdog_Interval timeout)
 POSIX Mutex Lock Support Method. More...
 

Detailed Description

Support Call to function Enables Locking of Mutex Object.

Function Documentation

◆ _POSIX_Mutex_Lock_support()

int _POSIX_Mutex_Lock_support ( pthread_mutex_t *  mutex,
bool  blocking,
Watchdog_Interval  timeout 
)

POSIX Mutex Lock Support Method.

A support routine which implements guts of the blocking, non-blocking, and timed wait version of mutex lock.

Referenced by pthread_mutex_trylock().