OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
threading_std.h File Reference
#include <cassert>
#include <cstddef>
#include <future>
#include <type_traits>
#include <vector>
#include "thread_count.h"
+ Include dependency graph for threading_std.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  threading_common::split
 
class  threading_common::auto_partitioner
 
class  threading_common::blocked_range< Value >
 A range over which to iterate. More...
 
class  threading_std::task_group
 

Namespaces

 threading_common
 
 threading_std
 

Macros

#define THREADING_STD_LAUNCH   async
 

Functions

template<typename Fn , typename... Args, typename Result = std::result_of_t<Fn && (Args && ...)>>
future< Result > threading_std::async (Fn &&fn, Args &&...args)
 
template<typename Int , typename Body , typename Partitioner = auto_partitioner>
void threading_std::parallel_for (const blocked_range< Int > &range, const Body &body, const Partitioner &p=Partitioner())
 Parallel iteration over range with default partitioner. More...
 
template<typename Index , typename Function , typename Partitioner = auto_partitioner>
void threading_std::parallel_for (Index first, Index last, const Function &f, const Partitioner &p=Partitioner())
 
template<typename Int , typename Value , typename RealBody , typename Reduction , typename Partitioner = auto_partitioner>
Value threading_std::parallel_reduce (const blocked_range< Int > &range, const Value &identity, const RealBody &real_body, const Reduction &reduction, const Partitioner &p=Partitioner())
 Parallel iteration with reduction. More...
 

Variables

constexpr auto threading_std::launch = std::launch::THREADING_STD_LAUNCH
 

Macro Definition Documentation

#define THREADING_STD_LAUNCH   async

Definition at line 9 of file threading_std.h.