[fpc-devel] Fpsigprocmask

Michael Schnell mschnell at lumino.de
Tue Jan 26 15:25:34 CET 2010


On 01/25/2010 05:16 PM, Michael Schnell wrote:

Can somebody provide a commend to this ?
> I defined sem_post
> like this:
>
>     function sem_post(__sem:Psem_t):longint;cdecl;external;
>
> (also alike for sem_init() and friends)
>
> it does compiler and link, but I_m not sure if it will work.
>   

I have no idea what code is called with that external reference (I
suppose it's not an so library, but something statically linked to the
program.)

Is this a recommended way to do this or is something else more
appropriate ?

-Michael



More information about the fpc-devel mailing list