IP_TaskInitAsyncWrites

IP_TaskInitAsyncWrites — opens a task's queue as write-only.

Syntax

#include <cogent.h>
int IP_TaskInitAsyncWrites(IP_Task*  receiver);

Arguments

receiver

A task.

Returns

0 on success, or -1 on failure and errno is set.

Description

This function opens the receiver's queue as write-only, allowing subsequent calls to IP_TaskSendAsync to succeed.

See Also

Task Structures, IP_TaskInitAsync