include/native/task.h File Reference


Detailed Description

This file is part of the Xenomai project.

Note:
Copyright (C) 2004 Philippe Gerum <rpm@xenomai.org>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Include dependency graph for task.h:

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

Go to the source code of this file.

Data Structures

struct  RT_TASK_INFO
 Structure containing task-information useful to users. More...
struct  RT_TASK_MCB
 Structure used in passing messages between tasks. More...

Defines

#define T_BLOCKED   XNPEND
 See XNPEND.
#define T_DELAYED   XNDELAY
 See XNDELAY.
#define T_READY   XNREADY
 See XNREADY.
#define T_DORMANT   XNDORMANT
 See XNDORMANT.
#define T_STARTED   XNSTARTED
 See XNSTARTED.
#define T_BOOST   XNBOOST
 See XNBOOST.
#define T_LOCK   XNLOCK
 See XNLOCK.
#define T_RRB   XNRRB
 See XNRRB.
#define T_NOSIG   XNASDI
 See XNASDI.
#define T_SHIELD   XNSHIELD
 See XNSHIELD.
#define T_WARNSW   XNTRAPSW
 See XNTRAPSW.
#define T_RPIOFF   XNRPIOFF
 See XNRPIOFF.

Functions

int rt_task_shadow (RT_TASK *task, const char *name, int prio, int mode)
int rt_task_bind (RT_TASK *task, const char *name, RTIME timeout)
static int rt_task_unbind (RT_TASK *task)
int rt_task_join (RT_TASK *task)
int rt_task_create (RT_TASK *task, const char *name, int stksize, int prio, int mode)
int rt_task_start (RT_TASK *task, void(*fun)(void *cookie), void *cookie)
int rt_task_suspend (RT_TASK *task)
int rt_task_resume (RT_TASK *task)
int rt_task_delete (RT_TASK *task)
int rt_task_yield (void)
int rt_task_set_periodic (RT_TASK *task, RTIME idate, RTIME period)
int rt_task_wait_period (unsigned long *overruns_r)
int rt_task_set_priority (RT_TASK *task, int prio)
int rt_task_sleep (RTIME delay)
int rt_task_sleep_until (RTIME date)
int rt_task_unblock (RT_TASK *task)
int rt_task_inquire (RT_TASK *task, RT_TASK_INFO *info)
int rt_task_notify (RT_TASK *task, rt_sigset_t signals)
int rt_task_set_mode (int clrmask, int setmask, int *mode_r)
RT_TASK * rt_task_self (void)
int rt_task_slice (RT_TASK *task, RTIME quantum)
ssize_t rt_task_send (RT_TASK *task, RT_TASK_MCB *mcb_s, RT_TASK_MCB *mcb_r, RTIME timeout)
int rt_task_receive (RT_TASK_MCB *mcb_r, RTIME timeout)
int rt_task_reply (int flowid, RT_TASK_MCB *mcb_s)
static int rt_task_spawn (RT_TASK *task, const char *name, int stksize, int prio, int mode, void(*entry)(void *cookie), void *cookie)


Generated on Mon Mar 24 18:02:40 2008 for Xenomai API by  doxygen 1.5.3