[fpc-devel] Why FreeBSD sem_init() works different to Linux?

Martin Schreiber mse00000 at gmail.com
Thu Feb 7 07:15:48 CET 2013


On Wednesday 06 February 2013 20:24:34 Graeme Geldenhuys wrote:

>
> It case I'm overlooking something critical, has anybody else done
> something like this. If so, anybody willing to share that code - saving
> me some time in developing, unit testing and debugging my own Object
> Pascal based semaphore.
>
MSEgui has a semaphore implementation. On Linux it uses the libc interface, on 
Windows an own implementation with a windows event object, 
lib/kernel/windows/msesysintf1.pas. Works so far, but with sync mechanics one 
never knows...

Martin



More information about the fpc-devel mailing list