[fpc-pascal] Counting semaphore for free pascal

Sven Barth pascaldragon at googlemail.com
Thu Jul 30 14:21:25 CEST 2015

Am 30.07.2015 11:29 schrieb "Michael Schnell" <mschnell at lumino.de>:
> On 07/30/2015 10:50 AM, Michael Van Canneyt wrote:
>> CriticalSection and TEvent derive their names from Windows OS calls,
adopted by Delphi and hence by FPC.
>> There is nothing FPC specific about it.
> OK. Thanks for the clarification.
> I understand that the computer science names ate Mutex and Semaphore and
both are adopted by UNIX / POSIX and then by Linux. No idea why the Windows
makers chose to invent a new notation for that old stuff.

Because they need to differentiate more than those two. Windows knows both
Semaphore und Mutex. In addition there are also Event (binary Semaphore)
and CriticalSection (process local Mutex).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150730/3b2f92d8/attachment.html>

More information about the fpc-pascal mailing list