[fpc-devel] Why FreeBSD sem_init() works different to Linux?
Sven Barth
pascaldragon at googlemail.com
Thu Feb 7 10:48:37 CET 2013
Am 07.02.2013 10:37, schrieb Graeme Geldenhuys:
>
>> This way you'd reduce that to one and rely on OS functionality
>> nevertheless (which is known to work - if used correctly :P ).
> Having a clean Object Pascal based Semaphore implementation will be
> useful, and clean code. My unit testing and usage of it in tiOPF on
> Windows, Linux and FreeBSD will hopefully prove that it works too.
>
> Once done, I'll post a link to the code. You are welcome to see if it
> will fit in the SyncObjs unit.
It might at least be useful for those systems that don't provide a
native semaphore implementation (e.g. OS/2).
Regards,
Sven
More information about the fpc-devel
mailing list