[fpc-devel] simpleipc issues

Ondrej Pokorny lazarus at kluug.net
Sat Oct 3 19:37:38 CEST 2015


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? Second, I noticed that unlike the "simple" test,
> the "advanced" leaves a temporary file 'hello-NNNN-t' in the
> temporary directory after finishing.
First - Yes that's true, I didn't add any sleep into the code for 
testing purposes.
Second - I'll check that!

> Apart from that, I replaced the hard-coded '*' with a reference to
> AllFilesMask constant defined in unit System, because some of FPC
> targets need a different mask when searching for all files (that is
> not the case of OS/2, but e.g. GO32v2 would need that if not running
> on a LFN enabled system) - committed in svn trunk.
>

Thanks! I found some smaller bugs that I send over to the temporary copy 
in Lazarus trunk. I'll sync both files and send patches back.

Ondrej



More information about the fpc-devel mailing list