anthonyfieroni added a comment.
I don't want to bother you but even last attempt can have race condition. If slotVerifyChecksums is called while future is not finished read/write cache can occur. https://paste.kde.org/pdqu2bywp/sccbzb I'm not using mutex at all. You can always use a signal/slot between threads, if receiver remains the same, cause slot will be called in its thread, synchronously. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8536 To: petermajchrak, elvisangelaccio, #vdg, colomar Cc: colomar, anthonyfieroni, bcooksley, alexeymin, ngraham, elvisangelaccio, #frameworks