[Lazarus] Using semaphores to limit thread access
Sven Barth
pascaldragon at googlemail.com
Mon Jul 20 11:17:37 CEST 2015
Am 20.07.2015 09:05 schrieb "Michael Schnell" <mschnell at lumino.de>:
>
> On 07/19/2015 06:32 PM, kapibara wrote:
>>
>> How to do that under Lazarus and Linux?
>>
> Linux and Windows: TCriticalSection.
Critical sections are not an adequate replacement for Semaphores. Alia
since both Windows and Posix support Semaphores they'll be made available
sometime in the future since newer Delphi versions also provide a
TSemaphore.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150720/52cd84ea/attachment-0003.html>
More information about the Lazarus
mailing list