[Lazarus] Threads in Lazarus code base
Juha Manninen (gmail)
juha.manninen62 at gmail.com
Wed Sep 15 13:07:33 CEST 2010
On Wednesday 15 September 2010 13:46:07 Michael Schnell wrote:
> Linux is very good with passing data via pipes. stdout is always present
> and can be captured by the parent process. This in fact is the "Unix
> way" to do those things (rather than using Threads). But I am sure it
> can be done with windows and Mac, too.
Anyway, it doesn't sound very easy for a crossplatform solution.
Besides, I don't want to start any external tool. I want to run a rather short
function in my code. A thread is perfect for doing that.
> Nothing. It's just error-prone. Enabling CThreads slightly reduces the
> overall performance, but I don't think it's relevant.
Ok, so there is a technical reason against threads, a performance hit.
I didn't know.
More information about the Lazarus