[fpc-pascal] Why is cthreads unit not included by default

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Aug 27 18:55:10 CEST 2009

On 27 Aug 2009, at 18:48, Mattias Gaertner wrote:

> On Thu, 27 Aug 2009 13:46:21 +0200
> Mattias Gärtner <nc-gaertnma at netcologne.de> wrote:
>> [...]
>> I would say, that using cthreads under Linux in an LCL app is ok.
>> I didn't test yet a LCL app under OS X, *BSD or Sparc, so  don't
>> know if cthreads has a performance penalty there.
> I did some tests on OS X and got some interesting results:
> An LCL application without cthreads: 15 seconds
> An LCL application with cthreads: 13 seconds
> An LCL application with cmem: 13 seconds
> This means LCL apps get faster with cthreads, while command line
> programs get slower.

Without saying what this command line application and this LCL  
application do exactly, it's kind of hard to understand this conclusion.


More information about the fpc-pascal mailing list