Sharing a file exclusively locked very briefly and getting everything to work correctly amongst multiple programs can be brain-twisting. With increasing use of mulit-cores, the possibility for sharing files using any lock technique is more important than ever before because all associated programs can execute simultaneously.
---------- Original Message ----------- From: Rolf-Werner Eilert <eilert-sprac...@t-online.de> To: mailing list for gambas users <gambas-user@lists.sourceforge.net> Sent: Thu, 12 Feb 2009 17:18:36 +0100 Subject: Re: [Gambas-user] Locking files - best method > Stefano Palmeri schrieb: > > Il giovedì 12 febbraio 2009 08:27:18 Rolf-Werner Eilert ha scritto: > >> Good morning, folks :-) > >> > >> Once upon a time, maybe some weeks or even months ago, we had a > >> discussion about how to lock a file for other users while it is written. > >> > >> My usual way was (and still is) using a xxx.lock file for indication. > >> > >> Someone on the list pointed me to the danger of overlapping > >> file-creation and directory-reading so that in rare cases there would be > >> no locking effect. He used locking by creating a lock-directory. After > >> some 6 months in use, I have to admit that he was right. Every 6 or 8 > >> weeks or so, there is a collision with my system. > >> > >> I can't find these posts in the archives anymore, so please could you > >> (whoever it was :-) ) give me your idea of locking by directory again? > >> > >> Thanks a lot in advance! > >> > >> Rolf > >> > >> --------------------------------------------------------------------------- > >> --- Create and Deploy Rich Internet Apps outside the browser with > >> Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing > >> skills and code to build responsive, highly engaging applications that > >> combine the power of local resources and data with the reach of the web. > >> Download the Adobe AIR SDK and Ajax docs to start building applications > >> today-http://p.sf.net/sfu/adobe-com > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > That discussion is here, more or less: > > > > http://www.nabble.com/commandline-output-redirect--to17365169.html#a19696934 > > > > Saluti, > > > > Stefano > > > > Yeees - that was it :-) Thank you! > > Regards > > Rolf > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user