base/include/rtai_rwl.h File Reference

Include dependency graph for rtai_rwl.h:

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

Go to the source code of this file.

Data Structures

struct  rtai_rwlock

Defines

#define rt_rwl_init(rwl)   rt_typed_rwl_init(rwl, RESEM_RECURS)

Typedefs

typedef rtai_rwlock RWL

Functions

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


Define Documentation

#define rt_rwl_init ( rwl   )     rt_typed_rwl_init(rwl, RESEM_RECURS)

Definition at line 78 of file rtai_rwl.h.

Referenced by _rt_named_rwl_init().


Typedef Documentation

typedef struct rtai_rwlock RWL


Function Documentation

static int rt_named_rwl_delete ( struct rtai_rwlock rwl  )  [inline, static]

Definition at line 98 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:

static struct rtai_rwlock* rt_named_rwl_init ( const char *  name  )  [inline, static]

Definition at line 92 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:

static int rt_rwl_delete ( struct rtai_rwlock rwl  )  [inline, static]

Definition at line 86 of file rtai_rwl.h.

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

Referenced by _rt_named_rwl_init(), and rt_named_rwl_delete().

Here is the call graph for this function:

static int rt_rwl_rdlock ( struct rtai_rwlock rwl  )  [inline, static]

Definition at line 104 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:

static int rt_rwl_rdlock_if ( struct rtai_rwlock rwl  )  [inline, static]

Definition at line 110 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:

static int rt_rwl_rdlock_timed ( struct rtai_rwlock rwl,
RTIME  delay 
) [inline, static]

Definition at line 122 of file rtai_rwl.h.

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

Here is the call graph for this function:

static int rt_rwl_rdlock_until ( struct rtai_rwlock rwl,
RTIME  time 
) [inline, static]

Definition at line 116 of file rtai_rwl.h.

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

Referenced by rt_rwl_rdlock_timed().

Here is the call graph for this function:

static int rt_rwl_unlock ( struct rtai_rwlock rwl  )  [inline, static]

Definition at line 152 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:

static int rt_rwl_wrlock ( struct rtai_rwlock rwl  )  [inline, static]

Definition at line 128 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:

static int rt_rwl_wrlock_if ( struct rtai_rwlock rwl  )  [inline, static]

Definition at line 134 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:

static int rt_rwl_wrlock_timed ( struct rtai_rwlock rwl,
RTIME  delay 
) [inline, static]

Definition at line 146 of file rtai_rwl.h.

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

Here is the call graph for this function:

static int rt_rwl_wrlock_until ( struct rtai_rwlock rwl,
RTIME  time 
) [inline, static]

Definition at line 140 of file rtai_rwl.h.

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

Referenced by rt_rwl_wrlock_timed().

Here is the call graph for this function:

static struct rtai_rwlock* rt_typed_rwl_init ( unsigned long  name,
int  type 
) [inline, static]

Definition at line 80 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:


Generated on Tue Feb 2 17:47:19 2010 for RTAI API by  doxygen 1.4.7