On Thu, Feb 9, 2012 at 10:16, Antonio Fortuny <a.fort...@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. > > > >> -- >> ______________________________**_________________ >> Lazarus mailing list >> Lazarus@lists.lazarus.**freepascal.org<Lazarus@lists.lazarus.freepascal.org> >> http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus> >> >> > > > -- > ______________________________**_________________ > Lazarus mailing list > Lazarus@lists.lazarus.**freepascal.org<Lazarus@lists.lazarus.freepascal.org> > http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus> >
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus