Talk:Event-driven
Disambiguation | ||||
|
I've completely rewritten this formerly orphaned entry, and linked it from the Oracle Forms entry. The description below, which I have removed, describes only a limited subset of event driven systems--asynchronous interrupt-driven systems. It also incorrectly identifies polling with a blocking (synchronous) read.--Minority Report 13:34, 7 Nov 2004 (UTC)
Event driven refers to a method of programming computer software. Event driven programmings allows applications to be notifed of changes or events without having to poll for them.
Polling would be: listening on a network socket to check when data is available. Synchronous functions could be used in a thread that block until data is available. Event driven instead would be: doing an asynchronous read, check if something is present or else, register itself has waiting for data. Once data is available, a callback is executed.