NetSurf
Functions
schedule.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nserror nsgtk_schedule (int t, void(*callback)(void *p), void *p)
 
bool schedule_run (void)
 Process events up to current time. More...
 

Function Documentation

◆ nsgtk_schedule()

nserror nsgtk_schedule ( int  t,
void(*)(void *p)  callback,
void *  p 
)

Definition at line 103 of file schedule.c.

References _nsgtk_callback_t::callback, _nsgtk_callback_t::callback_killed, _nsgtk_callback_t::context, NSERROR_OK, nsgtk_schedule_generic_callback(), queued_callbacks, and schedule_remove().

Referenced by gui_window_destroy(), next_throbber_frame(), nsgtk_toolbar_throbber(), throbber(), and toolbar_destroy_cb().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ schedule_run()

bool schedule_run ( void  )

Process events up to current time.

Process scheduled callbacks up to current time.

Returns
The number of miliseconds until the next scheduled event.

Definition at line 137 of file schedule.c.