| SCASH_BARRIER(3) | SCASH_BARRIER(3) |
int scash_barrier(int barrier)
scash_barrier() performs barrier synchronization and guarantees
that the whole of the shared memory is updated to the latest value. The same
barrier argument must be specified by all nodes.
scash_barrier() returns 0 on success.