[Qt-interest] How to use QFuture for my own thread implementation?

feudenfer feudenfer at gmail.com
Sun Mar 21 13:29:25 CET 2010


QFuture perfectly fits for asynchronous execution, I'd like to use it for my own
implementations of this case. I.e. not only for QtConcurrent::run, but for any case using
this pattern, for my own classes that are derived from QThread.

I haven't found any way to do so with QFuture... Anybody has a suggestion ?

It would be very useful to have some internal interface between QFuture and a thread.
Unfortunately right now I have to implement my own classes that look like QFuture and work
with my own multi-thread algorithms.



More information about the Qt-interest-old mailing list