Re: Multiple Threads - I/O in Same File

2011-11-21 Thread James Matthews
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, 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, > > **ยท

Multiple Threads - I/O in Same File

2011-11-21 Thread Nikunj.Badjatya
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 ca