[Lazarus] Multi-threading support in IDE
Graeme Geldenhuys
graemeg at opensoft.homeip.net
Thu Aug 13 13:13:34 CEST 2009
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/
More information about the Lazarus
mailing list