IP_TaskSetQname

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_TaskSetQname`

`IP_TaskSetQname` -- sets a task's queue name.

## Syntax

``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`

Prev | Home | Next
`IP_TaskSetInfo` | Up | `IP_TaskUnintern`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.