man rt_task_delete () - delete a realtime task

NAME

rt_task_delete - delete a realtime task

SYNOPSIS

WARNING -- 
This is an RTLinux v1.x compatibility function. 
For new programs, please see pthread_delete_np(3). 
 
#define MODULE 
#include <linux/module.h> 
#include <linux/kernel.h> 
#include <linux/version.h> 
#include <linux/errno.h> 
#include <linux/rtf.h> 
#include <asm/rt_irq.h> 
 
int rt_task_delete(RT_TASK * task); 

WARNING

This is an RTLinux v1.x compatibility function. For new programs, please see pthread_delete_np(3).

DESCRIPTION

rt_task_delete deletes a realtime task previously created by a call to rt_task_init. task is the structure with which the task was originally created.

RETURN VALUE

On success, 0 is returned. On failure, a negative value is returned as described below.

ERRORS

-EINVAL
task does not refer to a valid task.

SEE ALSO

rt_task_delete(3) (link to URL rt_task_init.3.html) , rt_task_make_periodic(3) (link to URL rt_task_make_periodic.3.html) , rt_task_suspend(3) (link to URL rt_task_suspend.3.html) , rt_task_wait(3) (link to URL rt_task_wait.3.html) , pthread_delete_np(3) (link to URL pthread_delete_np.3.html)

©1997 Jerry Epplin.

Modifications for RTLinux 2.x and 3.x by Michael Barabanov. ©2001 FSMLabs Inc.

All rights reserved.