RTEMS: cpukit/include/rtems/rfs/rtems-rfs-mutex.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Typedefs | Functions
rtems-rfs-mutex.h File Reference
IO Library » File System Types and Mount » RTEMS File System Group Management

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.
int | rtems_rfs_mutex_destroy (rtems_rfs_mutex *mutex)
| Destroy the mutex.

## 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] | mutex | is pointer to the mutex handle returned to the caller.

Return values

  0 | Successful operation.
  EIO | An error occurred.

## ◆ rtems_rfs_mutex_destroy()

int rtems_rfs_mutex_destroy | ( | rtems_rfs_mutex * | mutex | ) |

Destroy the mutex.

Parameters

  [in] | mutex | Reference to the mutex handle returned to the caller.

Return values

  0 | Successful operation.
  EIO | An error occurred.