Holds (reference to) a SC::ThreadPool and SC::ThreadPool::Task to execute an SC::AsyncRequest in a background thread This object lifetime is the same as the SC::AsyncRequest it's associated with, like SC::AsyncFileRead or SC::AsyncFileWrite.
More...
#include <Async.h>
|
void | freeTask () |
|
bool | isFree () const |
|
|
struct | AsyncEventLoop |
|
struct | AsyncRequest |
|
Holds (reference to) a SC::ThreadPool and SC::ThreadPool::Task to execute an SC::AsyncRequest in a background thread This object lifetime is the same as the SC::AsyncRequest it's associated with, like SC::AsyncFileRead or SC::AsyncFileWrite.
- Note
- Operations that support to be executed in background thread, accept an SC::AsyncTask in their
start
method.
- Warning
- The SC::ThreadPool::Task cannot be shared with other requests and it cannot be reused until the completion callback has been called.
The documentation for this struct was generated from the following file: