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

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

Contents


TASKCTL(3P)							   TASKCTL(3P)


NAME    [Toc]    [Back]

     taskctl - operations on a task

C SYNOPSIS    [Toc]    [Back]

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

     int taskctl (tid_t	tid, unsigned option);

DESCRIPTION    [Toc]    [Back]

     taskctl provides both information about tasks and the ability to control
     certain attributes	of a task.  option specifies one of the	following:

     TSK_ISBLOCKED    [Toc]    [Back]
	       returns 1 if the	specified task is currently blocked. Since
	       other processes could have subsequently unblocked the task, the
	       result should be	considered a snapshot only.

     taskctl will fail if one or more of the following are true:

     [EINVAL]	    option does	not refer to a valid option.

     [EINVAL]	    tid	does not refer to a valid task.

SEE ALSO    [Toc]    [Back]

      
      
     prctl(2), taskcreate(3P), taskdestroy(3P).

DIAGNOSTICS    [Toc]    [Back]

     Upon successful completion, taskctl returns a option specific value.
     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
taskdestroy IRIX destroy a task
taskcreate IRIX create a new task
TASK_INIT FreeBSD asynchronous task execution
taskqueue_enqueue FreeBSD asynchronous task execution
TASKQUEUE_DECLARE FreeBSD asynchronous task execution
taskqueue_find FreeBSD asynchronous task execution
TASKQUEUE_DEFINE FreeBSD asynchronous task execution
taskqueue_free FreeBSD asynchronous task execution
taskqueue FreeBSD asynchronous task execution
taskqueue_create FreeBSD asynchronous task execution
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service