MCPcopy Create free account
hub / github.com/bshoshany/thread-pool / operator()

Method operator()

include/BS_thread_pool.hpp:692–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

690struct loop_task
691{
692 void operator()()
693 {
694 for (T i = start; i < end; ++i)
695 (*loop_ptr)(i);
696 }
697
698 std::shared_ptr<std::decay_t<F>> loop_ptr;
699 T start;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected