23 #include "pybind11/pybind11.h"
27 namespace py = pybind11;
33 py::module mod(
"threads");
bool haveThreads()
Are threaded packages available?
bool disableImplicitThreading()
Disable threading that has not been set explicitly.
void setNumThreads(unsigned int numThreads)
Set number of threads to use.
unsigned int getNumThreads()
Get maximum number of threads we might use.