Event Loop
In computer science, the event loop, message dispatcher, message loop, message pump, or run loop is a programming construct that waits for and dispatches events or messages in a program. It works by making a request to some internal or external "event provider" (which generally blocks the request until an event has arrived), and then it calls the relevant event handler ("dispatches the event"). The event-loop may be used in conjunction with a reactor, if the event provider follows the file interface, which can be selected or 'polled' (the Unix system call, not actual polling). The event loop almost always operates asynchronously with the message originator.
Read more about Event Loop.
Famous quotes containing the word event:
“This event advertises me that there is such a fact as death,the possibility of a mans dying. It seems as if no man had ever died in America before; for in order to die you must first have lived.”
—Henry David Thoreau (18171862)