[fpc-pascal] using mtprocs

John Lee johnelee0 at gmail.com
Thu Apr 18 22:46:23 CEST 2013


I have a program that captures xml data every 2-6 secs from a power sensor,
win , xp. Would like to use freearc ebvery minute or so to compress the
previous data in parallel w/o stopping the capture. Running arc from cmd
line using exec eg exec('/c arc.exe outfile infile'); The compression may
take 30 secs or so.

Is using mtprocs as in
http://wiki.lazarus.freepascal.org/Parallel_procedures#Getting_MTProcs

the best way to do this? Or threads. Any other ideas?

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130418/fcd03c29/attachment.html>


More information about the fpc-pascal mailing list