Home | All Classes | Grouped Classes | Index | Search

# CL_System::keep_alive

Checks for system events, updates input and other stuff. Checks for system events (pump the CL_KeepAlive objects). Checks for system events (pump the CL_KeepAlive objects).

    	void keep_alive();

    	void keep_alive(
    		int millis);

    	bool keep_alive(
    		CL_EventListener& events, int timeout = -1);

Detailed description:

Return when 'millis' has elapsed.

Return when one of the events trigger, or when timeout has elapsed.

See also:

CL_KeepAlive | CL_EventListener | CL_System

Questions or comments, write to the ClanLib mailing list.