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
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal