RTEMS  5.0.0
Typedefs | Functions

RTEMS File System Mutex. More...

#include <errno.h>
#include <rtems/rfs/rtems-rfs-trace.h>

Go to the source code of this file.

Typedefs

typedef uint32_t rtems_rfs_mutex
 

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.

RTEMS File System Mutex.

It may be suprising we abstract this for the RTEMS file system but this code is designed to be run on host operating systems.

Typedef Documentation

◆ rtems_rfs_mutex

typedef uint32_t rtems_rfs_mutex

RFS Mutex type.

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.

◆ 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.