SC_BARRIER(2)
SCORED SYSTEM CALLS
SC_BARRIER(2)
NAME
sc_barrier - barrier synchronization

SYNOPSIS
#include <sc.h>

int sc_barrier( void );

DESCRIPTION
sc_barrier() must be called on all nodes to get a successful return. When the program running on all nodes reaches the point where sc_barrier(), then all sc_barrier() function calls returns.

RETURN VALUES
sc_barrier() returns 0 if it succeeds or returns the following error number:

ERRORS
EINTR
Job is restarted from a checkpoint.


CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2003 PC Cluster Consortium.