The UCXX implementation is intended to allow thread-safe Python operations, at least when using the progress thread. However, at least at the high-level the API is currently not thread-safe.
Consider for example the case of start_notifier_thread/stop_notifier_thread, one thread may pause just before starting the thread, and another destroy the thread object, which would lead to call start() on an object of NoneType.
The UCXX implementation is intended to allow thread-safe Python operations, at least when using the progress thread. However, at least at the high-level the API is currently not thread-safe.
Consider for example the case of
start_notifier_thread/stop_notifier_thread, one thread may pause just before starting the thread, and another destroy the thread object, which would lead to callstart()on an object ofNoneType.