HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Invoke.h File Reference

A unified wrapper for tbb::parallel_invoke and a naive std::thread analog. More...

#include <nanovdb/NanoVDB.h>
#include <thread>
#include <mutex>
#include <vector>
+ Include dependency graph for Invoke.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 nanovdb
 

Functions

template<typename Func , typename... Rest>
int nanovdb::invoke (const Func &taskFunc1, Rest...taskFuncN)
 

Detailed Description

A unified wrapper for tbb::parallel_invoke and a naive std::thread analog.

Author
Ken Museth
Date
August 24, 2020
template<typename Func0, typename Func1, ..., typename FuncN>
int invoke(const Func0& f0, const Func1& f1, ..., const FuncN& fN);

Definition in file Invoke.h.