RTEMS CPU Kit with SuperCore
4.11.3
|
RTEMS File System Mutex. More...
Go to the source code of this file.
Typedefs | |
typedef uint32_t | rtems_rfs_mutex |
RFS Mutex type. | |
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... | |
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.
int rtems_rfs_mutex_create | ( | rtems_rfs_mutex * | mutex | ) |
Create the mutex.
[in] | mutex | is pointer to the mutex handle returned to the caller. |
0 | Successful operation. |
EIO | An error occurred. |
References rtems_build_name, rtems_rfs_trace(), rtems_semaphore_create(), and RTEMS_SUCCESSFUL.
int rtems_rfs_mutex_destroy | ( | rtems_rfs_mutex * | mutex | ) |
Destroy the mutex.
[in] | mutex | Reference to the mutex handle returned to the caller. |
0 | Successful operation. |
EIO | An error occurred. |
References rtems_rfs_trace(), rtems_semaphore_delete(), and RTEMS_SUCCESSFUL.
Referenced by rtems_rfs_rtems_shutdown().