Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Multithreading file IO

Reply
Thread Tools

Multithreading file IO

 
 
Ahmed Moustafa
Guest
Posts: n/a
 
      09-18-2003
Where can I find some reading materials regarding multithreading file IO?

Thanks in advance,

 
Reply With Quote
 
 
 
 
Michiel Konstapel
Guest
Posts: n/a
 
      09-19-2003
> Where can I find some reading materials regarding multithreading file
IO?

As a certain sports articles company puts it, "just do it". Read up on
multithreading and synchronization, work out the file IO, then run
several threads in parallel.
If you have a more specific question, feel free to ask.
Regards,
Michiel


 
Reply With Quote
 
 
 
 
Leon Lambert
Guest
Posts: n/a
 
      09-19-2003
Not sure you will find any except to say avoid it. Multple threads who
can all access a single file gets real messy with syncronization, file
locking, and dead lock issues. It is far better to design a simple
worker class that manages the data storage then have other threads deal
with that object with things like queued requests. This will prevent
corruption of the file because only a single object in a single thread
can access it.

Sorry i have no specific reference to how to attempt this strategy but
hopefully you get the idea.

Leon Lambert

Ahmed Moustafa wrote:
> Where can I find some reading materials regarding multithreading file IO?
>
> Thanks in advance,
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Asynchronous requests vs. multithreading BoomWackaBoom ASP .Net 1 11-15-2003 05:42 PM
MultiThreading Muralidharan Ramakrishnan ASP .Net 1 11-10-2003 01:49 PM
Multithreading with HttpWebRequest Fieldadvice ASP .Net 3 11-07-2003 10:09 AM
Session State does not Work with Multithreading and SQL Server - Bug??? Ilia ASP .Net 6 11-04-2003 03:55 PM
Multithreading Boris Condarco ASP .Net 5 06-30-2003 01:02 PM



Advertisments