On Fri, 14 Aug 2009 14:51:58 +0200 Marco van de Voort <[email protected]> wrote:
> On Fri, Aug 14, 2009 at 09:19:11AM +0200, Mattias Gaertner wrote: > > > And having compiler and linker in separate (asynchronous) threads > > > would be the same as starting them as a new process in > > > asynchronous mode. It would open a can of worms because of > > > synchronising problems. > > > > They only share files. The synchronising is easy. > > > > The are good reasons to not put the compiler into the same process: > > -a process can be aborted/killed easily > > -various compiler versions > > -compiler crashes do not effect the IDE > > Disadvantages: > - compiler versions might not match (entirely) And? > - Multiple processes that can only be made sequential over I/O. > Potential for race conditions. Can you give an example? > - (some) platforms might not support multiple processes at all, or > miss the relevant 100% primitives. (also e.g. faulty pipe > implementations) Are we still talking about the IDE? Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
