Headers for the async::workload_t classes. More...
#include <stdlib.h>
Go to the source code of this file.
Classes | |
class | async::dispatch_t |
Describes a workload that does not need to return any results, that will be dispatched as a heap-allocated object. More... | |
class | async::static_worker_t |
Describes a workload that returns results to be consumed and processed by the caller, that will be dispatched as a local object. More... | |
class | async::worker_t |
Describes a workload that returns results to be consumed and processed by the caller, that will be dispatched as a heap- allocated object. More... | |
Namespaces | |
namespace | async |
Message-passing asynchronous worker classes. | |
Functions | |
bool | async::GetResults () |
Retrieve all currently pending results. | |
size_t | async::PendingResults () |
Get a count of how many results are pending. | |
void | async::Queue (const class workload_t *const instance) |
Dispatch a worker instance for processing and deletion by a worker thread. |
Headers for the async::workload_t classes.
Definition in file async-worker.h.