Function silc_schedule_init
SYNOPSIS
SilcSchedule silc_schedule_init(int max_tasks, void *app_context);
DESCRIPTION
Initializes the scheduler. This returns the scheduler context that
is given as argument usually to all silc_schedule_* functions.
The `max_tasks' indicates the number of maximum tasks that the
scheduler can handle. The `app_context' is application specific
context that is delivered to all task callbacks. The caller must
free that context. The 'app_context' can be for example the
application itself.
|