HDK
|
#include "pxr/pxr.h"
#include "pxr/base/tf/errorMark.h"
#include "pxr/base/work/api.h"
#include "pxr/base/work/dispatcher.h"
#include <type_traits>
#include <utility>
Go to the source code of this file.
Classes | |
struct | Work_DetachedTask< Fn > |
Functions | |
WORK_API WorkDispatcher & | Work_GetDetachedDispatcher () |
WORK_API void | Work_EnsureDetachedTaskProgress () |
template<class Fn > | |
void | WorkRunDetachedTask (Fn &&fn) |
WORK_API WorkDispatcher& Work_GetDetachedDispatcher | ( | ) |
void WorkRunDetachedTask | ( | Fn && | fn | ) |
Invoke fn
asynchronously, discard any errors it produces, and provide no way to wait for it to complete.
Definition at line 62 of file detachedTask.h.