[fpc-pascal] Correct use of GetThreadManager to Semaphores

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Mar 24 16:53:39 CET 2009


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.




More information about the fpc-pascal mailing list