On 29/07/2015 15:44, fpc-pascal-requ...@lists.freepascal.org wrote:
Date: Wed, 29 Jul 2015 15:16:13 +0200
From: Sven Barth<pascaldra...@googlemail.com>
To: FPC-Pascal users discussions<fpc-pascal@lists.freepascal.org>
Subject: Re: [fpc-pascal] Counting semaphore for free pascal
Message-ID:
        <CAFMUeB_-Zv6bmyt=yQ11jmWY=hbdahl4isyrig0v6gjevvr...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"


Semaphores don't necessarily need to be cross process.
Yes, it is not necessary.
As I wrote, some frameworks (i.e. .NET) provide classes like "threading semaphore". "By default" since 1960s semaphores are designed and used to synchronize the processes. When the semaphore's scope is limited by threads it is documented as "threading semaphore" in most cases.

Regards,
Serguei
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to