Put_Updates(3)

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

#include "unify.h"

int Put_Updates(int seg_id, enum send_type send_type);

Description

Put_Updates sends updates for the segment specified by seg_id to all the current members of the segment's copy set (see Need_Updates(3), Dont_Need_Updates(3)). Put_Updates(3) blocks until all members of the copy set have received the updates.

send_type indicates whether the segment is likely to have multiple senders. It may be set to either Concast or Multicast.

Return Values

Put_Updates returns 0 upon success. Otherwise, a value of -1 is returned.

Errors

An error will occur if seg_id is invalid or if the process is not a member of the segment's copy set.

See Also

Dont_Need_Updates(3), Get_Updates(3), Need_Updates(3), unifyintro(3)

Warnings

Simultaneous use of Get_Updates(3) and Put_Updates(3) on the same segment is currently undefined.


RCS status $Id: Put_Updates.html,v 1.1 1998/01/12 19:18:33 dieter Exp diaz $