|
AUI Framework
master
Cross-platform base for C++ UI apps
|
#include <AUI/Thread/AFuture.h>
Public Member Functions# | |
| CancellationWrapper (_unique< Inner > wrapped) | |
| const _unique< Inner > & | ptr () noexcept |
| Inner * | operator-> () const noexcept |
This class calls cancel() and wait() methods of AFuture::Inner BEFORE AFuture::Inner destruction in order to keep alive the weak reference created in AThreadPool::operator<<.