File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ def __getitem__(self, item):
13
13
14
14
15
15
class ThreadSynchronizer (Synchronizer ):
16
- """Provides synchronization using thread locks."""
16
+ """Provides synchronization using thread locks. This is disabled for
17
+ platforms that don't support threading, such as Pyodide.
18
+ """
17
19
18
20
def __init__ (self ):
19
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
36
38
`fasteners <https://fasteners.readthedocs.io/en/latest/api/inter_process/>`_
37
- package.
39
+ package. This is disabled for platforms that don't support threading, such
40
+ as Pyodide.
38
41
39
42
Parameters
40
43
----------
You can’t perform that action at this time.
0 commit comments