NetSurf
|
Go to the source code of this file.
Functions | |
int | schedule_run (void) |
Process events up to current time. More... | |
nserror | atari_schedule (int ival, void(*callback)(void *p), void *p) |
Schedule a callback. More... | |
void | list_schedule (void) |
LOG all current scheduled events. More... | |
nserror atari_schedule | ( | int | ival, |
void(*)(void *p) | callback, | ||
void * | p | ||
) |
Schedule a callback.
ival | interval before the callback should be made in miliseconds. |
callback | callback function. |
p | user parameter, passed to callback function. |
The callback function will be called as soon as possible after ival ms have passed.
Definition at line 103 of file schedule.c.
References nscallback::callback, cur_scheduled, max_scheduled, MS_NOW, nscallback::next, NSERROR_OK, NSLOG, nscallback::p, schedule_list, schedule_remove(), and nscallback::timeout.
Referenced by gui_window_start_throbber(), gui_window_stop_throbber(), and throbber_advance().
void list_schedule | ( | void | ) |
LOG all current scheduled events.
Definition at line 210 of file schedule.c.
int schedule_run | ( | void | ) |
Process events up to current time.
Definition at line 137 of file schedule.c.