Am 06.02.2013 20:43 schrieb "Marco van de Voort" <mar...@stack.nl>:
>
> In our previous episode, Graeme Geldenhuys said:
> > OK, now that we established that semaphores are broken in FreeBSD using
> > FPC 2.6.0 and the upcoming FPC 2.6.2. I'm looking for an alternative.
>
> > An alternative for two reasons.
> >   - I hate IFDEF code, and the semaphore code between Linux, FreeBSD
> >     and Windows are different.
> >   - Semaphore sem_t structure is incorrectly defined for FreeBSD, so
> >     I'll have to implement a special case for that platform.
>
> Why do you not use the standard syncobjs implementations? In 2.6.2 they
> should be ok. (only the types exported by unixtype/unix/baseunix are
wrong)

We don't have semaphores yet in SyncObjs.

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to