Logo ROOT  
Reference Guide
TFuture.hxx File Reference
#include "RConfigure.h"
#include "ROOT/TTaskGroup.hxx"
#include <type_traits>
#include <future>
Include dependency graph for TFuture.hxx:

Classes

class  ROOT::Experimental::TFuture< T >
 A TFuture class. It can wrap an std::future. More...
 
class  ROOT::Detail::TFutureImpl< T >
 

Namespaces

namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 
namespace  ROOT::Detail
 
namespace  ROOT::Experimental
 

Functions

template<class Function , class... Args>
TFuture< typename std::result_of< typename std::decay< Function >::type(typename std::decay< Args >::type...)>::typeROOT::Experimental::Async (Function &&f, Args &&... args)
 Runs a function asynchronously potentially in a new thread and returns a ROOT TFuture that will hold the result. More...