Robert Kern <robert.k...@gmail.com> wrote:

>> It would presumably require a global threading.RLock for protecting the
>> global state.
> 
> We would use thread-local storage like we currently do with the
> np.errstate() context manager. Each thread will have its own "global"
> state.

That sounds like a better plan, yes :)


Sturla

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to