How to create files using threads at run time in VB.NET

M

Mamatha

Hi friends,

I have an application using mutithreads.In that
application one threads writes the data in to a file.
Another thread reads the data from same file.
So some errors while at the time of reading.
Now i want to create a files and threads at runtime to
avoid these errors.
How can i create mutiple files and threads for reading
data from that files at runtime.Is there any way?
Please if u know how to create files at runtime and how
threads are created to read those files.
Please let me know because this is very urgent for me.
Thanks in advance.

Mamatha
 
S

steve

what is "the data"?
for what are the files used?
are you using synclocks when the files are being read/written?
what are the errors you are encountering?


| Hi friends,
|
| I have an application using mutithreads.In that
| application one threads writes the data in to a file.
| Another thread reads the data from same file.
| So some errors while at the time of reading.
| Now i want to create a files and threads at runtime to
| avoid these errors.
| How can i create mutiple files and threads for reading
| data from that files at runtime.Is there any way?
| Please if u know how to create files at runtime and how
| threads are created to read those files.
| Please let me know because this is very urgent for me.
| Thanks in advance.
|
| Mamatha
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top