Function

os_activity_end

Ends the specified activity on the current thread.

Declaration

void os_activity_end(os_activity_t activity);

Parameters

activity

The activity to end.

Discussion

Calling this function signifies only that the originator has received control back from the activity. Work related to the activity may still be in flight at the time this function is called.

See Also

Creating and Accessing Activities

os_activity_apply

Execute a block using a given activity object.

os_activity_apply_f

Execute a given function with a provided activity.

os_activity_get_active

Returns the stack of nested activities associated with the current thread.

Deprecated
os_activity_get_identifier

Returns the current activity identifier.

os_activity_scope_enter

Pushes the current execution context to use the provided activity.

os_activity_scope_leave

Pops the current execution context.