| [reply] |
Dude, read the other posts before replying,I did, no one mentioned to him how to bring in his huge file, and effectively split it, in order to hand them off to his threads for the parallel-processing. The OP asked I am reading and processing a huge file and recording results to another file which takes hundreds of hours. I want to run this task in multithreads.. How is it wrong to show how to get his input file split into bite sized chunks for his threads? I question whether you understand what needs to be done in an actual program. Maybe you didn't actually look at the link I provided? I showed him the various ways to achieve the first step needed for his code. See How to break up a long running process for some parallel processing usage.
| [reply] |
I did
Your reading skills are lacking. Here the OP says he needs to read a small file and write to a large file. The link you gave as well as the nonsense you posted ("threads don't help on a single-core processor, but multi-core machines magically reduce IO time") do not help with that problem.
| [reply] |
Yes, my apologies....I was having some stressful health problems. I read better now. :-)
| [reply] |