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

Graeme Geldenhuys graemeg at opensoft.homeip.net
Thu Aug 27 12:24:13 CEST 2009


Michael Van Canneyt wrote:
>> Why is threading enabled by default under Windows and not under other
>> platforms?
> 
> Because it creates a dependency on the C library, which 
> is not always wanted. For Lazarus programs, the dependency exists
> anyway, so it does not make a lot of sense to have the define.


But surely that c library is available on all unix-type systems? To why
is that dependency a bad thing?


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-pascal mailing list