[fpc-devel] Threading support and C library under Linux/Unix

Henry Vermaak henry.vermaak at gmail.com
Tue Jun 22 15:37:40 CEST 2010


On 22 June 2010 14:33, Marco van de Voort <marcov at stack.nl> wrote:
> In our previous episode, Henry Vermaak said:
> [ Charset ISO-8859-1 unsupported, converting... ]
>> On 22 June 2010 13:55, Michael Van Canneyt <michael at freepascal.org> wrote:
>> >
>> > The problem starts if you start linking to C libraries. In that case you're
>> > pretty much forced to use pthreads;
>>
>> Why is that?  I thought you could use anything, as long as it's posix compliant?
>
> Good luck getting all the C libs to use your POSIX compatible threading
> model.

The reason for creating a native threading implementations is that you
_don't_ have to use libc.  Why would you use a native one if you're
linking to libc anyway?



More information about the fpc-devel mailing list