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

Henry Vermaak henry.vermaak at gmail.com
Wed Jun 23 15:08:45 CEST 2010


On 23 June 2010 14:03, Daniël Mantione <daniel.mantione at freepascal.org> wrote:
>
>
> Op Wed, 23 Jun 2010, schreef Henry Vermaak:
>
>> On 23 June 2010 13:58, Michael Schnell <mschnell at lumino.de> wrote:
>>>
>>> On 06/23/2010 02:45 PM, Henry Vermaak wrote:
>>>>
>>>> I think you'll first have to worry porting fpc to those architectures.
>>>>
>>> Right you are :)
>>>
>>> But anyway, if not using libc, you need to do the FUTEX user space part
>>> in Pascal/Assembler
>>
>> Why would you want to do that?  Just use the futex syscall.
>
> Because the Futex syscall won't give you threads, it requires userspace
> assistance.

A futex syscall doesn't know anything about threads, it's for locking.
 Perhaps I'm misunderstanding you?



More information about the fpc-devel mailing list