qtconcurrent and saved state
Solved
General and Desktop
-
I am writing an app to find duplicate videos. I am using qtconcurrent to scan the video files and compute the duplicates. I would like to offer a save function in my app as with a lot of videos the process will take many hours Im sure.
Is there any built in functionality of qtconcurrent that supports starting from where you left off?
-
Hi
Not that I have seen.
Say if u are using a map, then
you can use iterators for start and end
so when your app, resumes again, it could load
the video list and the last processed and
adjust start iterator to that.
http://doc.qt.io/qt-5/qtconcurrent.html#map-1 -
of course I don't know what I was thinking. Thanks