[fpc-pascal] cthreads

Sven Barth pascaldragon at googlemail.com
Fri Jul 25 15:27:34 CEST 2014


Am 25.07.2014 15:11 schrieb "Ewald" <ewald at yellowcouch.org>:
>
> On 07/25/2014 03:04 PM, Fabio Luis Girardi wrote:
> > The same question that I posted on bugtracker:
> >
> > Linux, BSD, Unix, has another threaddriver than cthreads? If no, why
> > not make cthreads unit the default threaddriver for Unix?
>
> I read somewhere some time ago that the main reason for this was that
> FPC has no dependency to libc under normal circumstances. Making
> cthreads the default thread manager would thus add a dependency to libc.

This is correct. It's the same reason for the widestring manager provided
by cwstrings unit. Though 2.7.1 now has a Pascal only widestring manager as
well. :)

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140725/f1599972/attachment.html>


More information about the fpc-pascal mailing list