[Lazarus] semaphores
Sven Barth
pascaldragon at googlemail.com
Thu Feb 9 11:01:24 CET 2012
Am 09.02.2012 10:41, schrieb ik:
> On Thu, Feb 9, 2012 at 10:16, Antonio Fortuny <a.fortuny at sitasoftware.lu
> <mailto:a.fortuny at sitasoftware.lu>> 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 locked or not??
>
> How much faster (or slower) is the file access vs. semaphore access ?
>
>
> Disk IO is one of the slowest memory usage that exists (even SSD
> drives). RAM is the fastest memory exists today.
The memory that is used by CPU caches is the fastest (but also the most
expensive that's why it's only used for the relatively small caches).
Regards,
Sven
More information about the Lazarus
mailing list