On 18/07/2010 15:09, Mark Morgan Lloyd wrote:
Has anybody ever built a simple round-robin scheduler based on this,
for example
to handle low-speed comms on an indeterminate number of serial ports?
i haven't, yet :P
I'm planning a crude hack, hopefully just a list of TDataEvent with
control being distributed by a shim in a single async call procedure.
However I've got some system management work that's intruding...
You did see my mail, that this was changed in Revision 25698?
So you can now, use QueueAsyncCall to *queue* several events, for
several comms, and they will be executed first-in, first-out.
Martin
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus