Hi all,
I am working ona application, where in i use threads to write reports. I need to write about 8 html files into a single directory.
I spawn eight threads one each for each report. At the time of writing the file i am getting "Access Denied Exception"
I guess the problem could be
thread might be locking the directory making it unavailable for other threads to write its corresponding reports in the same directory.
For the time being i am using join() on the threads which makes them to que one after the other.
This is leading to performance issue. Each threads takes an average of 3 minutes to writ the html file. Now for the 8 report it is consuming 25 minutes.
If i can solve the access denied exception and make the threads write in the same directoru simultaneously it may take less than 5 minutes, which is what we desire.
Is this a limitation on the part of the threads? Or is there awork around for this issue?
Thanks in advance for all your inputs
abhilesh