Skip to content

Commit 4d24631

Browse files
committed
Update the number of global threads. Fixes #246.
1 parent 8200ef2 commit 4d24631

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

blosc/toplevel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def set_nthreads(nthreads):
9191
raise ValueError("the number of threads cannot be larger than %d" %
9292
blosc.MAX_THREADS)
9393

94+
blosc.nthreads = nthreads
9495
return _ext.set_nthreads(nthreads)
9596

9697

0 commit comments

Comments
 (0)