[fpc-pascal] Counting semaphore for free pascal

Michael Van Canneyt michael at freepascal.org
Thu Jul 30 10:50:28 CEST 2015



On Thu, 30 Jul 2015, Michael Schnell wrote:

> On 07/29/2015 01:06 PM, Michael Schnell wrote:
>> On 07/29/2015 12:35 PM, Serguei TARASSOV wrote:
>>>
>>>  critical sections are not.
>> Hmmm I suppose this is "fpc speak".
> Thinking about this I feel that  "CriticalSection" (the official name of this 
> functionality is Mutex) and "Event" is "fpc speak". "Event even has several 
> different  meanings in "fpc speak, e.g. TEvent (which is some kind of 
> Thread-Semaphore ) and and "Event" function to be settable in a class (the 
> general name of such construct is "Callback").

CriticalSection and TEvent derive their names from Windows OS calls, adopted by Delphi and hence by FPC.
There is nothing FPC specific about it.

Michael.



More information about the fpc-pascal mailing list