Function anjay_get_scheduler

Function Documentation

avs_sched_t *anjay_get_scheduler(anjay_t *anjay)

Extracts the scheduler used by Anjay allowing the user to schedule his own tasks.

See docs of avs_commons library for API of avs_sched_t object.

Must not use avs_sched_cleanup on the returned scheduler. Anjay will cleanup it itself.

Parameters:

anjay – Anjay object to operate on.

Returns:

non-null scheduler object used by Anjay.