![]() |
Qt 6.x
The Qt SDK
|
#include <qfuture_impl.h>
Public Types | |
using | ValueType = ResultType |
Public Member Functions | |
template<typename T = ResultType, typename = EnableForNonVoid<T>> | |
void | checkForCompletion (qsizetype, T &&result) |
Public Attributes | |
QAtomicInt | ready = false |
QPromise< ResultType > | promise |
Definition at line 1093 of file qfuture_impl.h.
using QtPrivate::WhenAnyContext< ResultType >::ValueType = ResultType |
Definition at line 1095 of file qfuture_impl.h.
|
inline |
Definition at line 1098 of file qfuture_impl.h.
References QPromise< T >::addResult(), QBasicAtomicInteger< T >::fetchAndStoreRelaxed(), QPromise< T >::finish(), QtPrivate::WhenAnyContext< ResultType >::promise, and QtPrivate::WhenAnyContext< ResultType >::ready.
QPromise<ResultType> QtPrivate::WhenAnyContext< ResultType >::promise |
Definition at line 1107 of file qfuture_impl.h.
Referenced by QtPrivate::WhenAnyContext< ResultType >::checkForCompletion().
QAtomicInt QtPrivate::WhenAnyContext< ResultType >::ready = false |
Definition at line 1106 of file qfuture_impl.h.
Referenced by QtPrivate::WhenAnyContext< ResultType >::checkForCompletion().