*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> taskdestroy (3p)              
Title
Content
Arch
Section
 

Contents


TASKDESTROY(3P)						       TASKDESTROY(3P)


NAME    [Toc]    [Back]

     taskdestroy - destroy a task

C SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <task.h>

     int taskdestroy (tid_t tid);

DESCRIPTION    [Toc]    [Back]

     Taskdestroy causes	the named task to be destroyed.	 Any task within a
     process can destroy any other task	in that	process.

     Taskdestroy will fail and no task will be destroyed if the	following is
     true:

     [EINVAL]  The tid specified is not	a valid	task id	for the	calling
	       process.

SEE ALSO    [Toc]    [Back]

      
      
     sproc(2), taskblock(3P), taskctl(3P), taskcreate(3P).

DIAGNOSTICS    [Toc]    [Back]

     Upon successful completion, taskdestroy returns 0.	 Otherwise, a value of
     -1	is returned to the calling task, and errno is set to indicate the
     error.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
taskcreate IRIX create a new task
taskctl IRIX operations on a task
TASKQUEUE_DECLARE FreeBSD asynchronous task execution
TASKQUEUE_DEFINE FreeBSD asynchronous task execution
taskqueue_run FreeBSD asynchronous task execution
taskqueue FreeBSD asynchronous task execution
taskqueue_create FreeBSD asynchronous task execution
taskqueue_free FreeBSD asynchronous task execution
taskqueue_find FreeBSD asynchronous task execution
taskqueue_enqueue FreeBSD asynchronous task execution
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service