IP_PulseTrigger

IP_PulseTrigger — immediately sends a pulse.

Syntax

#include <cogent.h>
int IP_PulseTrigger(IP_Task*  task,
 int  pulse);

Arguments

task

The task to which the pulse is sent.

pulse

The pulse ID.

Returns

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

Description

This function causes the pulse to be sent immediately to the task. It is the programmer's responsibility to ensure that the task and pulse are associated.

See Also

Pulses and Timers, IP_PulseNew, IP_PulseDestroy