concurrency_threshold(size_t)ΒΆ

FroidurePinBase &libsemigroups::FroidurePinBase::concurrency_threshold(size_t thrshld)

Set the threshold for concurrency to be used by member functions.

This member function sets the threshold such that if this->size() exceeds this value, then the following functions may use a concurrent implementation:

The default value is 823543.

Return

A reference to this.

Exceptions

This function is noexcept and is guaranteed never to throw.

Complexity

Constant.

See

concurrency_threshold().

Parameters
  • thrshld: the new threshold.