On Friday 6 September 2024 16:21:56 CEST Mårten Nordheim via Development wrote: > But do we make it QList<int> _just in case_ there are multiple results > added?
From my limited exposure to QFuture/QPromise and in particular the bugs I've had to triage, that is a design flaw. The future/promise doesn't know how many results will be provided, so there's a race condition in it flagging the future has arrived with more results arriving. -- Thiago Macieira - thiago.macieira (AT) intel.com Principal Engineer - Intel DCAI Platform & System Engineering
smime.p7s
Description: S/MIME cryptographic signature
-- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development