[Lazarus] Shell notifications

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Wed Aug 21 14:36:56 CEST 2013


Michael Schnell wrote:
> On 08/20/2013 02:56 PM, Henry Vermaak wrote:
>> ... together with select()..
> 
> In Object Pascal I think this should be encapsulated in a thread and 
> same fires a main Thread event (via TThread.Queue, TThread.Synchronize, 
> or Application.QueueAsyncCall) to notify the user (aka Main Thread).

I know it's the obvious way, but surely there is something more elegant 
than having a thread which exists solely to transfer the result of a 
select() to the main part of the app, and then repeats.

-- 
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