[Development] QFutureInterface
Alejandro Exojo
suy at badopi.org
Thu Dec 3 20:17:21 CET 2015
El Friday 27 November 2015, Bauer, Christian escribió:
> Our (simplified) problem is: this function does not return a value but
> feeds an asynchronous pipeline. When the pipeline processing is done it
> will call promise.SetResult(); promise.reportResult();
> and only then the future should be notified of the result.
I would not mind see your patch in code review, and read what others have to
say for or against. Having a QPromise or some other public API for QFuture
would be nice, as you could attach a QFutureWatcher to it.
--
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net
More information about the Development
mailing list