[fpc-pascal] Correct use of GetThreadManager to Semaphores

Léo Willian Kölln leokolln at gmail.com
Tue Mar 24 18:53:44 CET 2009


But then, what is this post about?
http://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg11866.html

So, who i use semaphores on linux? (i want Unix like, specifically
Linux. For windows i´m using it´s own API)

Léo Willian Kölln

On Tue, Mar 24, 2009 at 12:53 PM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
> Léo Willian Kölln wrote on di, 24 mrt 2009:
>
>> In what moment i need call the function GetThreadManager to get it and
>> use semaphore* functions?
>
> You should never do that. The thread manager is internal. For example, the
> semaphore* functions are nil in the Windows, see
> http://bugs.freepascal.org/view.php?id=11206
>
> I don't know whether, and if so in which unit, any semaphore functions are
> published.
>
>
> Jonas
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>



More information about the fpc-pascal mailing list