base/include/rtai_signal.h File Reference

Include dependency graph for rtai_signal.h:

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

Go to the source code of this file.

Data Structures

struct  rt_signal_t
struct  sigsuprt_t

Defines

#define RTAI_SIGNALS_IDX   BIDX
#define MAXSIGNALS   16
#define SIGNAL_TASK_INIPRIO   0
#define SIGNAL_TASK_STACK_SIZE   64*1024

Functions

static void signal_suprt_fun (struct sigsuprt_t *funarg)
static int rt_request_signal (long signal, void(*sighdl)(long, RT_TASK *))
static int rt_release_signal (long signal, RT_TASK *task)
static void rt_enable_signal (long signal, RT_TASK *task)
static void rt_disable_signal (long signal, RT_TASK *task)
static void rt_trigger_signal (long signal, RT_TASK *task)


Define Documentation

#define MAXSIGNALS   16

Definition at line 27 of file rtai_signal.h.

Referenced by _mq_notify(), _mq_send(), _mq_timedsend(), mq_close(), rt_request_signal_(), and signal_suprt_fun_mq().

#define RTAI_SIGNALS_IDX   BIDX

Definition at line 23 of file rtai_signal.h.

Referenced by rt_disable_signal(), rt_enable_signal(), rt_release_signal(), rt_request_signal(), rt_request_signal_mq(), rt_trigger_signal(), signal_suprt_fun(), and signal_suprt_fun_mq().

#define SIGNAL_TASK_INIPRIO   0

Definition at line 29 of file rtai_signal.h.

Referenced by signal_suprt_fun(), and signal_suprt_fun_mq().

#define SIGNAL_TASK_STACK_SIZE   64*1024

Definition at line 64 of file rtai_signal.h.

Referenced by rt_request_signal(), rt_request_signal_mq(), and signal_suprt_fun().


Function Documentation

static void rt_disable_signal ( long  signal,
RT_TASK task 
) [inline, static]

Definition at line 114 of file rtai_signal.h.

References RT_SIGNAL_DISABLE, rtai_lxrt(), RTAI_SIGNALS_IDX, SIZARG, and task.

Here is the call graph for this function:

static void rt_enable_signal ( long  signal,
RT_TASK task 
) [inline, static]

Definition at line 108 of file rtai_signal.h.

References RT_SIGNAL_ENABLE, rtai_lxrt(), RTAI_SIGNALS_IDX, SIZARG, and task.

Here is the call graph for this function:

static int rt_release_signal ( long  signal,
RT_TASK task 
) [inline, static]

Definition at line 102 of file rtai_signal.h.

References rtai_lxrt_t::i, LOW, RT_SIGNAL_RELEASE, rtai_lxrt(), RTAI_SIGNALS_IDX, SIZARG, task, and sigsuprt_t::task.

Referenced by mq_close().

Here is the call graph for this function:

static int rt_request_signal ( long  signal,
void(*)(long, RT_TASK *)  sighdl 
) [inline, static]

Definition at line 90 of file rtai_signal.h.

References sigsuprt_t::cpuid, rtai_lxrt_t::i, LOW, rt_buddy, RT_SIGNAL_HELPER, rt_thread_create(), rtai_lxrt(), RTAI_SIGNALS_IDX, signal_suprt_fun(), SIGNAL_TASK_STACK_SIZE, sigsuprt_t::sigtask, and sigsuprt_t::task.

Here is the call graph for this function:

static void rt_trigger_signal ( long  signal,
RT_TASK task 
) [inline, static]

Definition at line 120 of file rtai_signal.h.

References RT_SIGNAL_TRIGGER, rtai_lxrt(), RTAI_SIGNALS_IDX, SIZARG, and task.

Referenced by _mq_send(), and _mq_timedsend().

Here is the call graph for this function:

static void signal_suprt_fun ( struct sigsuprt_t funarg  )  [static]

Definition at line 69 of file rtai_signal.h.

References sigsuprt_t::cpuid, LOW, rt_get_name(), rt_grow_and_lock_stack, rt_make_hard_real_time(), rt_make_soft_real_time(), RT_SIGNAL_REQUEST, RT_SIGNAL_WAITSIG, rt_task_delete, rt_thread_init(), rtai_lxrt(), RTAI_SIGNALS_IDX, sigsuprt_t::sighdl, sigsuprt_t::signal, SIGNAL_TASK_INIPRIO, SIGNAL_TASK_STACK_SIZE, sigsuprt_t::sigtask, sigsuprt_t::task, and task.

Referenced by rt_request_signal().

Here is the call graph for this function:


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