Await(3)

Synopsis

cc [ flag ... ] file ... -lunify -levents -lpvm3 -lgpvm3 -lthread -ll -lsocket -lnsl -lw -lposix4 -lucb [ library ... ]

#include "unify.h"

int Await(int event_id, int count);

Description

Await(3) blocks the calling process until the event counter referenced by event_id reaches a value of at least count. count may be exceeded by the time the process calling Await(3) unblocks.

Return Values

Await(3) returns the new value of the event counter upon success. Otherwise, a value of -1 is returned.

Errors

See Also

Event Counters and Sequencers(3), unifyintro(3)


RCS status $Id: Await.html,v 1.1 1998/01/15 16:25:35 dieter Exp $