[fpc-devel] Thread and process count during compilation?
Sven Barth
pascaldragon at googlemail.com
Tue Nov 12 11:15:24 CET 2024
Martin Frb via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am Di.,
12. Nov. 2024, 11:12:
> Following up some question on the forum:
>
> https://forum.lazarus.freepascal.org/index.php/topic,69149.msg537855.html#msg537855
>
> I wanted to confirm one of my assumptions.
>
> If I start compiling a project (on any single file which could be
> program or library or unit, and could use other units that need to be
> compiled for it).
>
> So if I run one instance of fpc
> fpc -options ONE_FILENAME
>
> Then I should expect 2 processes, each process with one single thread?
> One process for fpc
> One process for the target specific ppc___
>
> And that is all?
> The one ppc will go through all the units needed?
> Or will it launch further ppc processes? (which would need to make sure
> that they don't eventually launch 2 ppc processes for one file
> recursively used via multiple of the primary used units)
>
Correct for FPC itself, though of course the ppc might start additional
processes like fpcres, as or ld.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20241112/2fd86ce4/attachment.htm>
More information about the fpc-devel
mailing list