Updates an object link¶
ss_pers_update
is a function defined in sspers.c.
Synopsis:
-
herr_t
ss_pers_update
(ss_pers_t *pers)¶
Description: This function makes information in the object link as current as possible. If the object has a permanent home in the table but the object index stored in the link is indirect then it is converted to a direct index. If the object is in memory then the link is moved to the `memory’ state. If the `mapidx’ value stored in the object is different than the object index in the link then the object index is updated in the link.
This function is essentially a weaker version of ss_pers_deref.
Return Value: Returns non-negative on success; negative on failure.
Parallel Notes: Independent
See Also:
- ss_pers_deref: 7.5: Dereference an object link
- Persistent Objects: Introduction for current chapter