GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  EZ_EVENTMAINLOOP (3)

NAME

EZ_EventMainLoop - dispatch and service events

CONTENTS

Synopsis
Description

SYNOPSIS


#include <EZ.h> 

void EZ_EventMainLoop( void) void EZ_ServiceEvents( void) void EZ_WaitAndServiceNextEvent( void)

DESCRIPTION

These three procedures are event dispatchers.

EZ_EventMainLoop is the main event loop. It is an infinite loop that wait for user interactions. When an event arrives, it calls the responsible event handlers to handle the event.

EZ_ServiceEvents checks the event queue for outstanding events. If there are any, it dispatches all of them to the responsible event handlers and then returns.

EZ_WaitAndServiceNextEvent checks the event queue. It waits for the next event to arrive if the event queue is empty. It then processes the first outstanding event and returns.

SEE ALSO

EZ_AddEventHandler(3), EZ_AddInput(3), EZ_CreateTimer(3)

Search for    or go to Top of page |  Section 3 |  Main Index


EZWGL EZ_EVENTMAINLOOP (3)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.