IP_TaskCreate
IP_TaskCreate — creates a new task structure.
Syntax
#include <cogent.h>
IP_Task*IP_TaskCreate( | int | nid, |
| int | pid, |
| int | chid, |
| char* | name, |
| char* | domain, |
| char* | qname, |
| int | security, |
| void* | userdata) ; |
Arguments
- nid
- pid
- chid
- name
- domain
The domain name, or NULL.
- qname
- security
- userdata
A pointer to user-defined data, or NULL.
Returns
The new task structure, or
NULL if there was insufficient memory to
perform the allocation.
Description
This function creates a new
task structure, and calls IP_TaskSetInfo.