multithread read from disk?
问题 Suppose I need to read many distinct, independent chunks of data from the same file saved on disk. Is it possible to multi-thread this upload? Related: Do all threads on the same processor use the same IO device to read from disk? In this case, multi-threading would not speed up the upload at all - the threads would just be waiting in line. (I am currently multi-threading with OpenMP.) 回答1: Yes, it is possible. However: Do all threads on the same processor use the same IO device to read from