All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
detachedTask.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/tf/errorMark.h"
#include "pxr/base/work/api.h"
#include <tbb/task.h>
#include <type_traits>
#include <utility>
+ Include dependency graph for detachedTask.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  Work_DetachedInvoker< Fn >


WORK_API tbb::task_group_context & Work_GetDetachedTaskGroupContext ()
template<class Fn >
void WorkRunDetachedTask (Fn &&fn)

Function Documentation

WORK_API tbb::task_group_context& Work_GetDetachedTaskGroupContext ( )
template<class Fn >
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 59 of file detachedTask.h.