[Lazarus] semaphores

Antonio Fortuny a.fortuny at sitasoftware.lu
Mon Feb 13 16:40:29 CET 2012



Le 09/02/2012 19:10, waldo kitty a écrit :
> 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...
How much time to check a semaphore and a file
>
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus






More information about the Lazarus mailing list