Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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 1082 of file qfuture_impl.h.
using QtPrivate::WhenAnyContext< ResultType >::ValueType = ResultType |
Definition at line 1084 of file qfuture_impl.h.
|
inline |
Definition at line 1087 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 1096 of file qfuture_impl.h.
Referenced by QtPrivate::WhenAnyContext< ResultType >::checkForCompletion().
QAtomicInt QtPrivate::WhenAnyContext< ResultType >::ready = false |
Definition at line 1095 of file qfuture_impl.h.
Referenced by QtPrivate::WhenAnyContext< ResultType >::checkForCompletion().