Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

trampoline::max_trampolined_calls

Obtain the number of calls that may be queued to a trampoline this executor installs.

std::size_t max_trampolined_calls() const;

The count is the number of function objects the trampoline runs in addition to the one that installs the trampoline. A count of (std::numeric_limits<std::size_t>::max)() means unbounded.

The count applies only when this executor installs the trampoline. A submission that joins a trampoline already installed on the current thread runs under that trampoline's count instead, which may be larger or smaller than this one.


PrevUpHomeNext