[fpc-devel] fpc READ-locks fpc.cfg when compiling?

Tomas Hajny XHajT03 at hajny.biz
Thu Sep 5 14:30:42 CEST 2013

On Thu, September 5, 2013 14:13, Martin wrote:
> IT appears that during compilation (not the whole time, but some brief
> moment) FPC locks the fpc.cfg.
> So far that is expected. while fpc reads it, it must not change.
> But it seems the lock also prevents others from reading.
> On w32 Vista / fpc 2.6.2
> I started 2 compilations (almost at the same time), using the same
> FPC.exe (and same config and all), and one of them failed, claiming it
> could not read the config. Starting it again (while the other still
> running), all worked well.

Looking at compiler sources, this seems to be fixed in trunk, but the file
is indeed locked for reading in fixes_2_6.


More information about the fpc-devel mailing list