rtai-core/include/rtai_tasklets.h File Reference


Detailed Description

Interface of the mini LXRT RTAI tasklets module.

Author:
Paolo Mantegazza
Note:
Copyright © 1999-2003 Paolo Mantegazza <mantegazza@aero.polimi.it>
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 rtai_tasklets.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

rt_tasklet_struct * rt_init_tasklet (void)
 Init, in kernel space, a tasklet structure to be used in user space.

void rt_delete_tasklet (struct rt_tasklet_struct *tasklet)
 Delete, in kernel space, a tasklet structure to be used in user space.

int rt_insert_timer (struct rt_tasklet_struct *timer, int priority, RTIME firing_time, RTIME period, void(*handler)(unsigned long), unsigned long data, int pid)
 Insert a timer in the list of timers to be processed.

void rt_remove_timer (struct rt_tasklet_struct *timer)
 Remove a timer in the list of timers to be processed.

void rt_set_timer_priority (struct rt_tasklet_struct *timer, int priority)
 Change the priority of an existing timer.

void rt_set_timer_firing_time (struct rt_tasklet_struct *timer, RTIME firing_time)
 Change the firing time of a timer.

void rt_set_timer_period (struct rt_tasklet_struct *timer, RTIME period)
 Change the period of a timer.

int rt_insert_tasklet (struct rt_tasklet_struct *tasklet, int priority, void(*handler)(unsigned long), unsigned long data, unsigned long id, int pid)
 Insert a tasklet in the list of tasklets to be processed.

void rt_remove_tasklet (struct rt_tasklet_struct *tasklet)
 Remove a tasklet in the list of tasklets to be processed.

int rt_exec_tasklet (struct rt_tasklet_struct *tasklet)
 Exec a tasklet.


Generated on Sat Jul 24 19:36:11 2004 for RTAI API by doxygen 1.3.4