Marc Weustink wrote:

Don't know about the others, but compiling is done by a separate process, so there is a chance that your os runs it in a different core.

That's not the same as running it in a separate thread though - is it?

Quoted from a Posix Thread tutorial I found on the internet.
  http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html

"Threads require less overhead than "forking" or spawning a new process because the system does not initialize a new system virtual memory space and environment for the process."


So wouldn't it be more efficient to create a new thread for the compiler instead of a new process?


Regards,
  - Graeme -

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to