Am 09.02.2012 10:41, schrieb ik:
On Thu, Feb 9, 2012 at 10:16, Antonio Fortuny <[email protected] <mailto:[email protected]>> 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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
