core-admin/core
Marek Marczykowski-Górecki 0c476f014d
backup: avoid deadlock when VM process fails
If SendWorker queue is full, check if that thread is still alive.
Otherwise it would deadlock on putting an entry to that queue.
This also requires that SendWorker must ensure that the main thread
isn't currently waiting for queue space when it fails. We can do this by
simply removing an entry from a queue - so on the next iteration
SendWorker would be already dead and main thread would notice it.
Getting an entry from queue in such (error) situation is harmless,
because other checks will notice it's an error condition.

Fixes QubesOS/qubes-issues#1359
2015-11-25 01:35:04 +01:00
..
storage Rename storage dir to dir_path, type to driver 2015-11-21 14:46:23 +01:00
tests
__init__.py
.gitignore
backup.py backup: avoid deadlock when VM process fails 2015-11-25 01:35:04 +01:00
guihelpers.py
Makefile
modules add convenient symlinks simulating target python files layout 2014-03-10 01:05:01 +01:00
notify.py
qubes.py
qubesutils.py
settings-xen-Linux.py Rename storage dir to dir_path, type to driver 2015-11-21 14:46:23 +01:00