RTEMS CPU Kit with SuperCore  4.11.3
Functions

RTEMS File System Mutex. More...

#include <rtems/rfs/rtems-rfs-mutex.h>
Include dependency graph for rtems-rfs-mutex.c:

Functions

int rtems_rfs_mutex_create (rtems_rfs_mutex *mutex)
 Create the mutex. More...
 
int rtems_rfs_mutex_destroy (rtems_rfs_mutex *mutex)
 Destroy the mutex. More...
 

Detailed Description

RTEMS File System Mutex.

Function Documentation

◆ rtems_rfs_mutex_create()

int rtems_rfs_mutex_create ( rtems_rfs_mutex mutex)

Create the mutex.

Parameters
[in]mutexis pointer to the mutex handle returned to the caller.
Return values
0Successful operation.
EIOAn error occurred.

References rtems_build_name, rtems_rfs_trace(), rtems_semaphore_create(), and RTEMS_SUCCESSFUL.

◆ rtems_rfs_mutex_destroy()

int rtems_rfs_mutex_destroy ( rtems_rfs_mutex mutex)

Destroy the mutex.

Parameters
[in]mutexReference to the mutex handle returned to the caller.
Return values
0Successful operation.
EIOAn error occurred.

References rtems_rfs_trace(), rtems_semaphore_delete(), and RTEMS_SUCCESSFUL.

Referenced by rtems_rfs_rtems_shutdown().