Jump to content

Signal programming

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Davelong (talk | contribs) at 01:22, 19 March 2006 (Fix redirect). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Signal programming is often used in the same sense as Event-driven programming.

The word signal is used instead of the word event in documentation of such libraries as GTK+ and libsigc++.

However it seems that the word signal is probably more often used to denote synchronous rather than asynchronous events, while the word event is often used for asynchronous event queues.

Another (more "scientific") name for synchronous signal programming is observer pattern.

Also signal programming is used in a narrow sense of programming with Unix signals such as SIGTERM, SIGSEGV etc. Note that Unix signals are asynchronous.