NetSurf
Functions | Variables
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 beos_schedule (int t, void(*callback)(void *p), void *p)
 
bool schedule_run (void)
 Process events up to current time. More...
 

Variables

bigtime_t earliest_callback_timeout
 earliest deadline. More...
 

Function Documentation

◆ beos_schedule()

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

Definition at line 83 of file schedule.cpp.

References _nsbeos_callback_t::callback, _nsbeos_callback_t::callback_fired, _nsbeos_callback_t::callback_killed, callbacks, _nsbeos_callback_t::context, earliest_callback_timeout, NSERROR_OK, NSLOG, schedule_remove(), and _nsbeos_callback_t::timeout.

Referenced by gui_window_start_throbber(), gui_window_stop_throbber(), and nsbeos_throb().

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.

Returns
The number of miliseconds until the next scheduled event.

Definition at line 137 of file schedule.c.

Variable Documentation

◆ earliest_callback_timeout

bigtime_t earliest_callback_timeout
extern

earliest deadline.

It's used for select() in gui_poll()

Definition at line 47 of file schedule.cpp.

Referenced by beos_schedule(), nsbeos_gui_poll(), and schedule_run().