Template Function quickpool::push

Function Documentation

template<typename Function, class ...Args>
inline void quickpool::push(Function &&f, Args&&... args)

Free-standing functions (main API)

push a job to the global thread pool.

Parameters
  • f – a function.

  • args – (optional) arguments passed to f.