Message Pump
   HOME





Message Pump
In computer science, the event loop (also known as message dispatcher, message loop, message pump, or run loop) is a programming construct or software design pattern, design pattern that waits for and dispatches event-driven programming, events or Message Passing Interface, messages in a computer program, program. The event loop works by making a request to some internal or external "event provider" (that generally blocking (computing), blocks the request until an event has arrived), then calls the relevant event handler ("dispatches the event"). It is also commonly implemented in servers such as Web server, web servers. The event loop may be used in conjunction with a reactor pattern, reactor, if the event provider follows the #File interface, file interface, which can be selected or 'polled' (the Unix system call, not actual polling (computer science), polling). The event loop almost always operates asynchronously with the message originator. When the event loop forms the centra ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Computer Science
Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, applied disciplines (including the design and implementation of Computer architecture, hardware and Software engineering, software). Algorithms and data structures are central to computer science. The theory of computation concerns abstract models of computation and general classes of computational problem, problems that can be solved using them. The fields of cryptography and computer security involve studying the means for secure communication and preventing security vulnerabilities. Computer graphics (computer science), Computer graphics and computational geometry address the generation of images. Programming language theory considers different ways to describe computational processes, and database theory concerns the management of re ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  



MORE