RSM_MEMSEG_IMPORT_OPEN_BARRIER(3RSM) | Remote Shared Memory Library Functions | RSM_MEMSEG_IMPORT_OPEN_BARRIER(3RSM) |
cc [ flag... ] file... -lrsm [ library... ] #include <rsmapi.h> int rsm_memseg_import_open_barrier(rsmapi_barrier_t *barrier);
int rsm_memseg_import_order_barrier(rsmapi_barrier_t *barrier);
int rsm_memseg_import_close_barrier(rsmapi_barrier_t *barrier);
The rsm_memseg_import_order_barrier() function imposes the order-of-write completion whereby, with an order barrier, the write operations issued before the order barrier are all completed before the operations after the order barrier. Effectively, with the order barrier call, all writes within one barrier scope are ordered with respect to those in another barrier scope.
RSMERR_BAD_SEG_HNDL
RSMERR_BAD_BARRIER_PTR
The rsm_memseg_close_barrier() and rsm_memseg_order_barrier() functions can return the following errors:
RSMERR_BARRIER_UNINITIALIZED
RSMERR_BARRIER_NOT_OPENED
RSMERR_BARRIER_FAILURE
RSMERR_CONN_ABORTED
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Evolving |
MT-Level | MT-Safe |
April 9, 2016 | OmniOS |