Need_Updates(3)

Synopsis

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

#include "unify.h"

int Need_Updates(int seg_id);

Description

Need_Updates adds the calling worker process to the set of worker processes that will receive updates when Put_Updates(3) is called with an argument of seg_id. The worker process can later be removed from the copy set for a segment by calling Dont_Need_Updates(3).

Return Values

On success Need_Updates returns 0. Otherwise, a value of -1 is returned.

Errors

Need_Updates can return an error if seg_id is invalid.

See Also

Dont_Need_Updates(3), Put_Updates(3), unifyintro(3)


RCS status $Id: Need_Updates.html,v 1.1 1998/01/13 15:17:49 dieter Exp $