[Lazarus] semaphores

waldo kitty wkitty42 at windstream.net
Mon Feb 13 21:23:44 CET 2012


On 2/13/2012 10:40, Antonio Fortuny wrote:
>
>
> 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

you still loose me... they are the same thing (to me) so there is no difference 
(to me)...

what, exactly, are you calling a "semaphore"? where, exactly, does it reside? 
how, exactly, is it created/removed?





More information about the Lazarus mailing list