[fpc-pascal] Correct use of GetThreadManager to Semaphores

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Mar 24 21:41:23 CET 2009


On 24 Mar 2009, at 18:53, Léo Willian Kölln wrote:

> 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
>

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


Bad advice. Mea culpa.


Jonas


More information about the fpc-pascal mailing list