openmp_context

Contents

openmp_context#

graph_tool.openmp_context(nthreads=None, schedule=None, chunk=0, thresh=None)[git][source]#

Return a context manager that sets the runtime OpenMP parameters, and restores the original values when exited.