[Lazarus] QueueAsyncCall() scheduling

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Sun Jul 18 20:58:18 CEST 2010


Martin wrote:

> Well each called function/procedure must voluntary return anyway (if you 
> do not use threads). So if a method returns, it just adds itself to the 
> end of the list again => and that way you keep looping.
> 
> I've done exactly that myself (but with only one method), instead of 
> ProcessMessages, the method reschedules itself.

Yes, I agree that that's probably a valid way of implementing it.

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