Contents

os_activity_get_identifier

Retrieves the identifier for a given activity object.

Declaration

extern os_activity_id_t os_activity_get_identifier(os_activity_t activity, os_activity_id_t *parent_id);

Parameters

  • activity:

    The activity to be identified.

  • parent_id:

    On return, contains the identifier of the parent of the activity object, if any. Pass NULL if you don’t need this identifier.

Return Value

The current activity identifier.

See Also

Retrieving an Activity Identifier