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