You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If _lock is None, if two threads both enter get_lock, both threads could see _lock is None, one thread could create a new Lock, return it to the caller, then the second thread could create a new Lock and return that different lock to the caller.
The text was updated successfully, but these errors were encountered:
https://github.com/fsspec/filesystem_spec/blob/master/fsspec/asyn.py#L27-L35
If
_lock
is None, if two threads both enterget_lock
, both threads could see_lock
is None, one thread could create a newLock
, return it to the caller, then the second thread could create a newLock
and return that different lock to the caller.The text was updated successfully, but these errors were encountered: