massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 3 / multiprocessing / dummy / __init__.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/3/multiprocessing/dummy/__init__.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/3/multiprocessing/dummy/__init__.pyi
new file mode 100644 (file)
index 0000000..b699327
--- /dev/null
@@ -0,0 +1,42 @@
+from typing import Any, Optional, List, Type\r
+\r
+import array\r
+import sys\r
+import threading\r
+import weakref\r
+\r
+from .connection import Pipe\r
+from threading import Lock, RLock, Semaphore, BoundedSemaphore\r
+from threading import Event, Condition, Barrier\r
+from queue import Queue\r
+\r
+JoinableQueue = Queue\r
+\r
+\r
+class DummyProcess(threading.Thread):\r
+    _children = ...  # type: weakref.WeakKeyDictionary\r
+    _parent = ...  # type: threading.Thread\r
+    _pid = ...  # type: None\r
+    _start_called = ...  # type: int\r
+    exitcode = ...  # type: Optional[int]\r
+    def __init__(self, group=..., target=..., name=..., args=..., kwargs=...) -> None: ...\r
+\r
+Process = DummyProcess\r
+\r
+class Namespace(object):\r
+    def __init__(self, **kwds) -> None: ...\r
+\r
+class Value(object):\r
+    _typecode = ...  # type: Any\r
+    _value = ...  # type: Any\r
+    value = ...  # type: Any\r
+    def __init__(self, typecode, value, lock=...) -> None: ...\r
+\r
+\r
+def Array(typecode, sequence, lock=...) -> array.array: ...\r
+def Manager() -> Any: ...\r
+def Pool(processes=..., initializer=..., initargs=...) -> Any: ...\r
+def active_children() -> List: ...\r
+def current_process() -> threading.Thread: ...\r
+def freeze_support() -> None: ...\r
+def shutdown() -> None: ...\r