[Lazarus] Signal handling

Henry Vermaak henry.vermaak at gmail.com
Wed Feb 20 10:02:23 CET 2013


On Feb 20, 2013 8:36 AM, "Mark Morgan Lloyd" <
markMLl.lazarus at telemetry.co.uk> wrote:
>
> If I want to poll a variable set by an asynchronous unix-style signal,
i.e. that doesn't have an OS-level handle and where the latency should
probably be of the order of 100mSec, what's the most effective technique?

If I understand correctly, the self pipe trick is probably best, then you
don't have to poll, just add the handle to select().

Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130220/1cfff48b/attachment-0003.html>


More information about the Lazarus mailing list