The rsm_memseg_import_init_barrier() function creates a barrier for the imported segment specified by memseg. The barrier type is specified by the type argument. Currently, only RSM_BAR_DEFAULT
is supported as a barrier type. A handle to the barrier is obtained through the barrier argument and is used in subsequent barrier calls.
The rsm_memseg_import_destroy_barrier() function deallocates all the resources associated with the barrier.
|