Create_Sequencer(3)

Synopsis

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

#include "unify.h"

int Create_Sequencer(int seq_type);

Description

Create_Sequencer(3) creates a new sequencer of type specified by seq_type with an initial count of 0. Type can be SEQUENTIAL_TICKETS or RANDOM_TICKETS. Random tickets are generated in increasing order

Return Values

On successful completion Create_Sequencer(3) returns the sequencer identifier for the newly created sequencer. Otherwise, a value of -1 is returned.

Errors

An error may occur if insufficient resources are available to create the sequencer.

See Also

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


RCS status $Id: Create_Sequencer.html,v 1.3 1998/02/09 18:43:06 rajitha Exp $