IP_TaskSetQname

IP_TaskSetQname — sets a task's queue name.

Syntax

#include <cogent.h>
void IP_TaskSetQname(IP_Task*  task,
 char*  qname);

Arguments

task

A task.

qname

A queue name, or NULL.

Returns

None.

Description

This function sets the queue name for the task. If the task already has an open queue, then that queue is closed. If qname is non-NULL and the task had a previously open queue, then the new queue name is opened and initialized with the same permissions.

See Also

Task Structures, Domains in the Cascade NameServer chapter, IP_TaskSetDomain