processview 0.2.3__tar.gz → 0.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- home/payno/.local/share/virtualenvs/tomwer_venv/lib/python3.7/site-packages/processview/__pycache__/version.cpython-37.pyc +0 -0
- home/payno/.local/share/virtualenvs/tomwer_venv/lib/python3.7/site-packages/processview/core/__pycache__/helpers.cpython-37.pyc +0 -0
- home/payno/.local/share/virtualenvs/tomwer_venv/lib/python3.7/site-packages/processview/core/helpers.py +0 -1
- home/payno/.local/share/virtualenvs/tomwer_venv/lib/python3.7/site-packages/processview/core/manager/__pycache__/manager.cpython-37.pyc +0 -0
- home/payno/.local/share/virtualenvs/tomwer_venv/lib/python3.7/site-packages/processview/core/manager/manager.py +8 -6
- home/payno/.local/share/virtualenvs/tomwer_venv/lib/python3.7/site-packages/processview/version.py +1 -1
- home/payno/.local/share/virtualenvs/tomwer_venv/lib/python3.7/site-packages/{processview-0.2.3-py3.7.egg-info → processview-0.2.4-py3.7.egg-info}/PKG-INFO +1 -1
- /home/payno/.local/share/virtualenvs/tomwer_venv/lib/python3.7/site-packages/{processview-0.2.3-py3.7.egg-info → processview-0.2.4-py3.7.egg-info}/SOURCES.txt +0 -0
- /home/payno/.local/share/virtualenvs/tomwer_venv/lib/python3.7/site-packages/{processview-0.2.3-py3.7.egg-info → processview-0.2.4-py3.7.egg-info}/dependency_links.txt +0 -0
- /home/payno/.local/share/virtualenvs/tomwer_venv/lib/python3.7/site-packages/{processview-0.2.3-py3.7.egg-info → processview-0.2.4-py3.7.egg-info}/not-zip-safe +0 -0
- /home/payno/.local/share/virtualenvs/tomwer_venv/lib/python3.7/site-packages/{processview-0.2.3-py3.7.egg-info → processview-0.2.4-py3.7.egg-info}/requires.txt +0 -0
- /home/payno/.local/share/virtualenvs/tomwer_venv/lib/python3.7/site-packages/{processview-0.2.3-py3.7.egg-info → processview-0.2.4-py3.7.egg-info}/top_level.txt +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -95,8 +95,9 @@ class ProcessManager:
|
|
|
95
95
|
self._processes[process_id] = weakref.ref(process)
|
|
96
96
|
process._set_process_id(process_id)
|
|
97
97
|
|
|
98
|
-
|
|
99
|
-
callback
|
|
98
|
+
with self.lock:
|
|
99
|
+
for callback in self._newProcessCallback:
|
|
100
|
+
callback()
|
|
100
101
|
return process_id
|
|
101
102
|
|
|
102
103
|
def _find_dataset_id(self, data) -> Dataset:
|
|
@@ -131,11 +132,12 @@ class ProcessManager:
|
|
|
131
132
|
|
|
132
133
|
:param BaseProcess process:
|
|
133
134
|
"""
|
|
134
|
-
|
|
135
|
-
|
|
135
|
+
with self.lock:
|
|
136
|
+
if process.process_id in self._processes and process.is_master_process:
|
|
137
|
+
del self._processes[process.process_id]
|
|
136
138
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
+
for callback in self._processRemovedCallback:
|
|
140
|
+
callback()
|
|
139
141
|
|
|
140
142
|
def get_processes(self) -> tuple:
|
|
141
143
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|