Make an object unique¶
SS_PERS_UNIQUE is a macro defined in sspers.h.
Synopsis:
-
SS_PERS_UNIQUE(_pers_)¶
Description: Makes an object unique by giving it a unique serial number. The number is unique across all the MPI tasks so
that when N tasks create N identical new objects that only differ in serial number, SSlib will convert them to
N identical permanent objects instead of merging them all into a single permanent object.
Return Value: Returns non-negative on success; negative on failure.
Parallel Notes: Independent
See Also:
- Persistent Objects: Introduction for current chapter