[Lazarus] How does one add an event to a blocking system?

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Thu Oct 22 10:21:25 CEST 2015


Michael Schnell wrote:
> On 10/21/2015 05:27 PM, Sven Barth wrote:

>> Better usage of terms: Exceptions are thrown (or raised), events are 
>> signaled.
> You are right. "thrown" is not a good wording for Events. I mostly read 
> "fired" on that behalf.

"Signalled" is not a good choice IMO, because of unix-style signals and 
their handlers (e.g. sending a HUP signal to a process, to get it to 
re-read its configuration).

"Triggered" can have problems if a database is being used.

"Fired" seems like a fairly good choice, since it also implies immediacy.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list