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

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Aug 27 19:02:33 CEST 2009


On Thu, 27 Aug 2009 18:55:10 +0200
Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:

> 
> 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.

I already posted the code, so I guess you mean the libraries.
How can I find out under OS X?

Mattias



More information about the fpc-pascal mailing list