OmniSciDB
a5dc49c757
|
#include <threading_std.h>
Public Member Functions | |
template<typename F > | |
void | run (F &&f) |
void | cancel () |
void | wait () |
Private Attributes | |
std::vector< future< void > > | threads_ |
Definition at line 109 of file threading_std.h.
|
inline |
Definition at line 117 of file threading_std.h.
|
inline |
Definition at line 114 of file threading_std.h.
References threading_std::async(), and f().
Referenced by Executor::launchKernelsImpl(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeApproxQuantileColumn(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeCountDistinctColumn(), and ResultSet::parallelTop().
|
inline |
Definition at line 119 of file threading_std.h.
Referenced by Executor::launchKernelsImpl(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeApproxQuantileColumn(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeCountDistinctColumn(), and ResultSet::parallelTop().
|
private |
Definition at line 110 of file threading_std.h.