[Lazarus] semaphores

waldo kitty wkitty42 at windstream.net
Thu Feb 9 19:10:01 CET 2012


On 2/9/2012 03:16, Antonio Fortuny wrote:
> Le 08/02/2012 19:58, waldo kitty a écrit :
>> On 2/8/2012 08:53, Henry Vermaak wrote:
>>> On 08/02/12 13:26, Michael Schnell wrote:
>>>> Why not just use a file ?
>>>
>>> Is there a cross platform file locking solution in fpc?
>>
>> why would that be necessary is the simple existence of the file indicates
typo alert! "necessary if the simple"
>> locked or not??
> How much faster (or slower) is the file access vs. semaphore access ?

once the file is in the cache, likely no difference in speed...

please explain what you mean by "semaphore access"... in the possible solution 
we're trying to point to, the file /is/ the semaphore...




More information about the Lazarus mailing list