On Sat, October 3, 2015 19:59, Ondrej Pokorny wrote: > On 03.10.2015 19:21, Tomas Hajny wrote: >> Thanks, I tested it under OS/2 now. Both the "simple" and "advanced" >> test programs work, well done! I noticed two issues when running the >> "advanced" tests, though. First, the server increases the CPU >> considerably. There seems to be a loop permanently searching for a >> file FindFirst without any sleep in between. Maybe related to >> PeekRequest calls? > The solution is simple and is only a problem of the demo application > (not advancedipc.pp code). Just add an "ELSE SLEEP(XYZ)" block into the > server while-loop.
Yes, indeed, that fixed it, thanks. I've added the test / example to FPC SVN under the directory examples. Tomas _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel