SCASH_INIT(3) | SCASH_INIT(3) |
int scash_init(int argc, char** argv, int dsm_area_size)
scash_init()
initializes the SCASH system for mpc++ runtime.
You must call this before using the SCASH API. The total shared memory
size should be specified as dsm_area_size
. If the
specified shared memory size is not a multiple of the page size, it
will be rounded up to a multiple of the page size.
scash_init
returns 0 on success.