[Lazarus] TThread.WaitFor blocks the main event loop under Linux

Vincent Snijders vincent.snijders at gmail.com
Mon Oct 18 18:54:38 CEST 2010


2010/10/18 Michael Schnell <mschnell at lumino.de>:
>  On 10/18/2010 04:42 PM, Sven Barth wrote:
>>
>> Ehm... "unit libc" <> "interfacing/using libc". The libc unit is a relict
>> from Kylix times and is basically i386 only. But interfacing with/using libc
>> is not a bad thing (TM) per se.
>>
> I do agree. I was not completely convinced that not using the pthreadlib in
> the libc for managing the thread stuff. I suppose there are pros and cons
> (see the "Threadvar" discussion). I suppose when getting at that a
> discussion what and how stuff from *libc*.so is to be accessed.
>

Michael, please read
http://wiki.lazarus.freepascal.org/libc_unit#The_problem_with_unit_libc,
so you know what you are talking about and understand the difference
between library libc and unit libc.

Vincent




More information about the Lazarus mailing list