#include <cogent.h>
IP_Task* IP_NserveInit(
char* name, char* domain, char* qname, int qsize, int flags )
;
A public name for this task. This must be unique system-wide.
A Cascade DataHub domain name, or NULL.
A queue name, or NULL.
The number of messages in the queue, or 0.
A bitwise-OR of initialization flags, or 0.
This function creates a task structure for the current task, and sends the necessary information to nserve. If the domain is NULL, the default domain is used. If the qname is null, then the task will have no input queue. If the qsize is 0, then it will be assigned a default value (currently 100). There are currently no flags.
Task names must be unique system-wide. This restriction is enforced as much as possible by nserve, but there are certain unavoidable situations that may allow multiple processes on different nodes to register the same name. Some care should be taken by the programmer to ensure that this does not happen.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.