[Kst] branches/work/kst/portto4/kst/src/datasources/ascii
Peter Kümmel
syntheticpp at gmx.net
Tue Oct 16 21:12:37 UTC 2012
SVN commit 1320822 by kuemmel:
don't read with mutiple threads from the same file
M +1 -1 asciisource.cpp
--- branches/work/kst/portto4/kst/src/datasources/ascii/asciisource.cpp #1320821:1320822
@@ -291,7 +291,7 @@
int sRead = 0;
- if (_config._useThreads) {
+ if (_config._useThreads && !useSlidingWindow(bytesToRead)) {
QFutureSynchronizer<int> readFutures;
const QVector<AsciiFileData>& data = _fileBuffer.data();
foreach (const AsciiFileData& chunk, data) {
More information about the Kst
mailing list