We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a2d3ef commit 42a0fa5Copy full SHA for 42a0fa5
1 file changed
zarr/sync.py
@@ -13,7 +13,9 @@ def __getitem__(self, item):
13
14
15
class ThreadSynchronizer(Synchronizer):
16
- """Provides synchronization using thread locks."""
+ """Provides synchronization using thread locks. This is disabled for
17
+ platforms that don't support threading, such as Pyodide.
18
+ """
19
20
def __init__(self):
21
self.mutex = Lock()
@@ -34,7 +36,8 @@ def __setstate__(self, *args):
34
36
class ProcessSynchronizer(Synchronizer):
35
37
"""Provides synchronization using file locks via the
38
`fasteners <https://fasteners.readthedocs.io/en/latest/api/inter_process/>`_
- package.
39
+ package. This is disabled for platforms that don't support threading, such
40
+ as Pyodide.
41
42
Parameters
43
----------
0 commit comments