[Lazarus] Class TThread in linux;

William Oliveira Ferreira bdexterholland at gmail.com
Fri Nov 25 19:11:31 CET 2011

Thanks, now became more clear
William de Oliveira Ferreira
Bacharel em Sistemas de Informação

2011/11/25 Sven Barth <pascaldragon at googlemail.com>

> Am 25.11.2011 15:21, schrieb William Oliveira Ferreira:
>  Thanks for the awnser, Sven, but, my question is why not only use
>> {$ifdef unix}
>> cthreads
>> {$endif}
>> and i didn´t understand yet...
> Using unit "cthreads" also means linking to the C library. As not every
> applications needs threading (and thus the linking to the C library) this
> was made optional. If you use Lazarus with a GTK2 or Qt based LCL then you
> might as well remove the "ifdef usecthreads" as the two mentioned
> widgetsets include references to the C library, so it doesn't matter
> whether you use "cthreads" or not. On the other hand if you'd use fpGUI (or
> fpGUI-LCL) then you might wish to not include "cthreads" as there no
> linking to the C library is necessary.
> I hope it is more clear now.
> Regards,
> Sven
> --
> ______________________________**_________________
> Lazarus mailing list
> Lazarus at lists.lazarus.**freepascal.org<Lazarus at lists.lazarus.freepascal.org>
> http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111125/6f238961/attachment-0003.html>

More information about the Lazarus mailing list