You may have some issues with disk reading as the drive heads move in different ways
On Mon, Nov 21, 2011 at 8:15 AM, <nikunj.badja...@emc.com> wrote: > Hi All,**** > > ** ** > > Just a question in general. Is it possible that we have opened one file > in r+ mode ( file1.txt ). **** > > We have 2 threads, **** > > **· **Thread1 will continuously ‘only read’ the file in a loop. ** > ** > > **· **Thread2 will only update the data in the file ( say a > number < 100 ). **** > > Now thread2 has called other script ( written in say Perl/Powershell using > subprocess.call() ) and those scripts are inturn updating ( only writing ) > into that file by their own file i/o mechanism.**** > > ** ** > > Is it possible by any chance? One file being shared between different > processes one is only updating and other is only reading ..? Will this work > in practical and what can be the complications ?**** > > ** ** > > ** ** > > Thanks**** > > Nikunj**** > > -- > http://mail.python.org/mailman/listinfo/python-list > > -- http://www.goldwatches.com --
-- http://mail.python.org/mailman/listinfo/python-list