PK_PMARK_ask_marks   

PK_ERROR_code_t   PK_PMARK_ask_marks
(
--- received arguments ---
PK_PMARK_t        pmark,        --- a pmark

--- returned arguments ---
int        *const n_marks,      --- number of marks of pmark
PK_MARK_t **const marks         --- marks of pmark (optional)
)


This functions returns the 'marks' which 'use' the given 'pmark'. A mark M
uses a pmark P if rolling to M would make P current.


Specific Errors:
    PK_ERROR_rollback_not_started  Partitioned rollback is not active


If called from a thread with locked partitions, then 'marks' includes any
marks from before its partition was locked. However, these marks are only
usable in threads with no partitions locked.

The output array 'marks' is optional. If it is set to NULL, the function
will only compute the number of marks using the given pmark.