corerwlock.h File Reference

#include <rtems/score/thread.h>
#include <rtems/score/threadq.h>
#include <rtems/score/priority.h>
#include <rtems/score/watchdog.h>
#include <rtems/score/corerwlock.inl>

Include dependency graph for corerwlock.h:

Go to the source code of this file.

Data Structures

struct  CORE_RWLock_Attributes
struct  CORE_RWLock_Control

Defines

#define CORE_RWLOCK_STATUS_LAST   CORE_RWLOCK_TIMEOUT
#define CORE_RWLOCK_THREAD_WAITING_FOR_READ   0
#define CORE_RWLOCK_THREAD_WAITING_FOR_WRITE   1
#define _CORE_RWLock_Flush(_the_rwlock, _remote_extract_callout, _status)

Typedefs

typedef void(* CORE_RWLock_API_mp_support_callout )(Thread_Control *, Objects_Id)

Enumerations

enum  CORE_RWLock_States { CORE_RWLOCK_UNLOCKED, CORE_RWLOCK_LOCKED_FOR_READING, CORE_RWLOCK_LOCKED_FOR_WRITING }
enum  CORE_RWLock_Status { CORE_RWLOCK_SUCCESSFUL, CORE_RWLOCK_WAS_DELETED, CORE_RWLOCK_UNAVAILABLE, CORE_RWLOCK_TIMEOUT }

Functions

void _CORE_RWLock_Initialize (CORE_RWLock_Control *the_rwlock, CORE_RWLock_Attributes *the_rwlock_attributes)
void _CORE_RWLock_Obtain_for_reading (CORE_RWLock_Control *the_rwlock, Objects_Id id, boolean wait, Watchdog_Interval timeout, CORE_RWLock_API_mp_support_callout api_rwlock_mp_support)
void _CORE_RWLock_Obtain_for_writing (CORE_RWLock_Control *the_rwlock, Objects_Id id, boolean wait, Watchdog_Interval timeout, CORE_RWLock_API_mp_support_callout api_rwlock_mp_support)
CORE_RWLock_Status _CORE_RWLock_Release (CORE_RWLock_Control *the_rwlock)
void _CORE_RWLock_Timeout (Objects_Id id, void *ignored)
 RWLock Specific Thread Queue Timeout.


Detailed Description

This include file contains all the constants and structures associated with the RWLock Handler.

Generated on Fri Jul 4 12:16:30 2008 for RTEMSSuperCore by  doxygen 1.5.6