RTEMS CPU Kit with SuperCore
4.11.2
|
CORE Mutex Implementation. More...
#include <rtems/score/coremutex.h>
#include <rtems/score/chainimpl.h>
#include <rtems/score/sysstate.h>
#include <rtems/score/threadimpl.h>
#include <rtems/score/threadqimpl.h>
Go to the source code of this file.
Macros | |
#define | CORE_MUTEX_STATUS_LAST CORE_MUTEX_STATUS_CEILING_VIOLATED |
The last status value. More... | |
#define | _CORE_mutex_Seize_interrupt_trylock(_mutex, _executing, _lock_context) _CORE_mutex_Seize_interrupt_trylock_body( _mutex, _executing, _lock_context ) |
The default is to favor speed and inlining this definitely saves a few instructions. More... | |
#define | _CORE_mutex_Check_dispatch_for_seize(_wait) |
Verifies that a mutex blocking seize is performed safely. More... | |
#define | _CORE_mutex_Seize(_the_mutex, _executing, _id, _wait, _timeout, _lock_context) |
This method is used to obtain a core mutex. More... | |
Typedefs | |
typedef void(* | CORE_mutex_API_mp_support_callout) (Thread_Control *, Objects_Id) |
Callout which provides to support global/multiprocessor operations. More... | |
Enumerations | |
enum | CORE_mutex_Status { CORE_MUTEX_STATUS_SUCCESSFUL, CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT, CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE, CORE_MUTEX_WAS_DELETED, CORE_MUTEX_TIMEOUT, CORE_MUTEX_STATUS_CEILING_VIOLATED } |
The possible Mutex handler return statuses. More... | |
CORE Mutex Implementation.