stdThreadMax {RcppAlgos} | R Documentation |
Max Number of Concurrent Threads
Description
Wrapper of std::thread::hardware_concurrency(). As stated by cppreference, the returned value should be considered only a hint.
Usage
stdThreadMax()
Value
An integer representing the number of concurrent threads supported by the user implementation. If the value cannot be determined, 1L
is returned.
See Also
Examples
stdThreadMax()
[Package RcppAlgos version 2.8.3 Index]