task.h File Reference


Detailed Description

This file is part of the RTAI 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.

As a special exception, the RTAI project gives permission for additional uses of the text contained in its release of Xenomai.

The exception is that, if you link the Xenomai libraries with other files to produce an executable, this does not by itself cause the resulting executable to be covered by the GNU General Public License. Your use of that executable is in no way restricted on account of linking the Xenomai libraries code into it.

This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License.

This exception applies only to the code released by the RTAI project under the name Xenomai. If you copy code from other RTAI project releases into a copy of Xenomai, as the General Public License permits, the exception does not apply to the code that you add in this way. To avoid misleading anyone as to the status of such modified files, you must delete this exception notice from them.

If you write modifications of your own for Xenomai, it is your choice whether to permit this exception to apply to your modifications. If you do not wish that, delete this exception notice.

Include dependency graph for task.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.

Functions

int rt_task_bind (RT_TASK *task, const char *name)
 Bind to a real-time task.
int rt_task_unbind (RT_TASK *task)
 Unbind from a real-time task.
int rt_task_create (RT_TASK *task, const char *name, int stksize, int prio, int mode)
 Create a new real-time task.
int rt_task_start (RT_TASK *task, void(*fun)(void *cookie), void *cookie)
 Start a real-time task.
int rt_task_suspend (RT_TASK *task)
 Suspend a real-time task.
int rt_task_resume (RT_TASK *task)
 Resume a real-time task.
int rt_task_delete (RT_TASK *task)
 Delete a real-time task.
int rt_task_yield (void)
 Manual round-robin.
int rt_task_set_periodic (RT_TASK *task, RTIME idate, RTIME period)
 Make a real-time task periodic.
int rt_task_wait_period (void)
 Wait for the next periodic release point.
int rt_task_set_priority (RT_TASK *task, int prio)
 Change the base priority of a real-time task.
int rt_task_sleep (RTIME delay)
 Delay the calling task (relative).
int rt_task_sleep_until (RTIME date)
 Delay the calling task (absolute).
int rt_task_unblock (RT_TASK *task)
 Unblock a real-time task.
int rt_task_inquire (RT_TASK *task, RT_TASK_INFO *info)
 Inquire about a real-time task.
int rt_task_catch (void(*handler)(rt_sigset_t))
 Install a signal handler.
int rt_task_notify (RT_TASK *task, rt_sigset_t signals)
 Send signals to a task.
int rt_task_set_mode (int clrmask, int setmask, int *mode_r)
 Change task mode bits.
RT_TASK * rt_task_self (void)
 Retrieve the current task.
int rt_task_slice (RT_TASK *task, RTIME quantum)
 Set a task's round-robin quantum.


Generated on Mon Dec 13 09:49:49 2004 for RTAI API by  doxygen 1.3.9.1