Last updated March 2020
scheduler_recurrent_func_add — Registers a recurrent function and a closure for the master scheduler thread
void **scheduler_recurrent_func_add** ( | func, | |
| | closure
); | |
Registers a recurrent function and a closure for the master scheduler thread.
The recurrent function to register for the master scheduler thread.
The following typedef applies to this data type:
typedef int (*RecurFunc) (void *closure, struct timeval * now);
The closure to register for the master scheduler thread.
This function returns
This function may only be called in the
This function should only be called at startup.
Was this page helpful?