base/include/rtai_rwl.h File Reference

#include <rtai_sem.h>

Include dependency graph for rtai_rwl.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  rtai_rwlock

Typedefs

typedef rtai_rwlock RWL

Functions

rtai_rwlockrt_rwl_init (unsigned long name)
int rt_rwl_delete (struct rtai_rwlock *rwl)
rtai_rwlockrt_named_rwl_init (const char *name)
int rt_named_rwl_delete (struct rtai_rwlock *rwl)
int rt_rwl_rdlock (struct rtai_rwlock *rwl)
int rt_rwl_rdlock_if (struct rtai_rwlock *rwl)
int rt_rwl_rdlock_until (struct rtai_rwlock *rwl, RTIME time)
int rt_rwl_rdlock_timed (struct rtai_rwlock *rwl, RTIME delay)
int rt_rwl_wrlock (struct rtai_rwlock *rwl)
int rt_rwl_wrlock_if (struct rtai_rwlock *rwl)
int rt_rwl_wrlock_until (struct rtai_rwlock *rwl, RTIME time)
int rt_rwl_wrlock_timed (struct rtai_rwlock *rwl, RTIME delay)
int rt_rwl_unlock (struct rtai_rwlock *rwl)


Typedef Documentation

typedef struct rtai_rwlock RWL
 

Referenced by _rt_named_rwl_init(), handle_lxrt_request(), lxrt_rwl_init(), rt_named_rwl_delete(), rt_rwl_delete(), rt_rwl_init(), rt_rwl_rdlock(), rt_rwl_rdlock_if(), rt_rwl_rdlock_timed(), rt_rwl_rdlock_until(), rt_rwl_unlock(), rt_rwl_wrlock(), rt_rwl_wrlock_if(), rt_rwl_wrlock_timed(), and rt_rwl_wrlock_until().


Function Documentation

int rt_named_rwl_delete struct rtai_rwlock rwl  )  [inline]
 

Definition at line 94 of file rtai_rwl.h.

References BIDX, rtai_lxrt_t::i, LOW, NAMED_RWL_DELETE, rtai_lxrt(), and SIZARG.

Here is the call graph for this function:

struct rtai_rwlock* rt_named_rwl_init const char *  name  )  [inline]
 

Definition at line 88 of file rtai_rwl.h.

References BIDX, LOW, NAMED_RWL_INIT, rtai_lxrt(), SIZARG, and rtai_lxrt_t::v.

Here is the call graph for this function:

int rt_rwl_delete struct rtai_rwlock rwl  )  [inline]
 

Definition at line 82 of file rtai_rwl.h.

References BIDX, rtai_lxrt_t::i, LOW, LXRT_RWL_DELETE, rtai_lxrt(), and SIZARG.

Here is the call graph for this function:

struct rtai_rwlock* rt_rwl_init unsigned long  name  )  [inline]
 

Definition at line 76 of file rtai_rwl.h.

References BIDX, LOW, LXRT_RWL_INIT, rtai_lxrt(), SIZARG, and rtai_lxrt_t::v.

Here is the call graph for this function:

int rt_rwl_rdlock struct rtai_rwlock rwl  )  [inline]
 

Definition at line 100 of file rtai_rwl.h.

References BIDX, rtai_lxrt_t::i, LOW, rtai_lxrt(), RWL_RDLOCK, and SIZARG.

Here is the call graph for this function:

int rt_rwl_rdlock_if struct rtai_rwlock rwl  )  [inline]
 

Definition at line 106 of file rtai_rwl.h.

References BIDX, rtai_lxrt_t::i, LOW, rtai_lxrt(), RWL_RDLOCK_IF, and SIZARG.

Here is the call graph for this function:

int rt_rwl_rdlock_timed struct rtai_rwlock rwl,
RTIME  delay
[inline]
 

Definition at line 118 of file rtai_rwl.h.

References BIDX, rtai_lxrt_t::i, LOW, rtai_lxrt(), RTIME, RWL_RDLOCK_TIMED, and SIZARG.

Here is the call graph for this function:

int rt_rwl_rdlock_until struct rtai_rwlock rwl,
RTIME  time
[inline]
 

Definition at line 112 of file rtai_rwl.h.

References BIDX, rtai_lxrt_t::i, LOW, rtai_lxrt(), RTIME, RWL_RDLOCK_UNTIL, and SIZARG.

Here is the call graph for this function:

int rt_rwl_unlock struct rtai_rwlock rwl  )  [inline]
 

Definition at line 148 of file rtai_rwl.h.

References BIDX, rtai_lxrt_t::i, LOW, rtai_lxrt(), RWL_UNLOCK, and SIZARG.

Here is the call graph for this function:

int rt_rwl_wrlock struct rtai_rwlock rwl  )  [inline]
 

Definition at line 124 of file rtai_rwl.h.

References BIDX, rtai_lxrt_t::i, LOW, rtai_lxrt(), RWL_WRLOCK, and SIZARG.

Here is the call graph for this function:

int rt_rwl_wrlock_if struct rtai_rwlock rwl  )  [inline]
 

Definition at line 130 of file rtai_rwl.h.

References BIDX, rtai_lxrt_t::i, LOW, rtai_lxrt(), RWL_WRLOCK_IF, and SIZARG.

Here is the call graph for this function:

int rt_rwl_wrlock_timed struct rtai_rwlock rwl,
RTIME  delay
[inline]
 

Definition at line 142 of file rtai_rwl.h.

References BIDX, rtai_lxrt_t::i, LOW, rtai_lxrt(), RTIME, RWL_WRLOCK_TIMED, and SIZARG.

Here is the call graph for this function:

int rt_rwl_wrlock_until struct rtai_rwlock rwl,
RTIME  time
[inline]
 

Definition at line 136 of file rtai_rwl.h.

References BIDX, rtai_lxrt_t::i, LOW, rtai_lxrt(), RTIME, RWL_WRLOCK_UNTIL, and SIZARG.

Here is the call graph for this function:


Generated on Thu Nov 20 11:53:49 2008 for RTAI API by doxygen 1.3.8