How to synchronize between those threads in VB.NET

  • Thread starter Thread starter Mamatha
  • Start date Start date
M

Mamatha

Hi

I have one application in VB.NET using mutiple threads.
While that application running,threads get some data and
placed it into a file.That same file is used contineously
by another threads in reading purpose.
If we put synchronize in writing mode then how can i read
from that file.
If we put synchronize in reading mode then how can i write
data into that file.

How can i prevent conflicts from those threads.

And how can i handle this?
If any one knows the solution please let me know because
this is a very urgent need for me.I will give a great
thanks to you.

Mamatha
 
Hi,

Maybe this will help
http://msdn.microsoft.com/msdnmag/issues/04/09/BasicInstincts/default.aspx

Ken
----------------
Hi

I have one application in VB.NET using mutiple threads.
While that application running,threads get some data and
placed it into a file.That same file is used contineously
by another threads in reading purpose.
If we put synchronize in writing mode then how can i read
from that file.
If we put synchronize in reading mode then how can i write
data into that file.

How can i prevent conflicts from those threads.

And how can i handle this?
If any one knows the solution please let me know because
this is a very urgent need for me.I will give a great
thanks to you.

Mamatha
 
Back
Top