Settings¶
-
inline size_t libsemigroups::FpSemigroup::max_threads() const noexcept¶
Get the current maximum number of threads.
- Complexity
Constant.
- Parameters
(None)
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
A value of type
size_t
.
-
inline FpSemigroup &libsemigroups::FpSemigroup::max_threads(size_t val) noexcept¶
Set the maximum number of threads.
- Complexity
Constant.
- Parameters
val – the number of threads.
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
a reference to
this
.