core-admin/qubes
3hhh 3db5e9f8bf
Revert "storage/callback: do not run sync code async"
This reverts commit 287a4a0429.

As Marek correctly pointed out, sync functions cannot be run async against one another even if run inside an async function
(the python interpreter will remain active until the next yield and that's at the end of the sync func / inside the async function).
--> So there's no need for a lock.

I still cannot protect against assumptions made by sync code authors about blocking the Qubes OS main loop. Those will be broken.

Moreover the code of this commit was botched anyway.
2020-07-28 18:42:02 +02:00
..
api Use self.dest.storage.import* wrappers instead. 2020-07-16 00:38:02 +08:00
ext Changed feature keyboard_layout to a property 2020-07-14 01:32:55 +02:00
qmemman qmemmand: separate SystemState init xc and xs to a 'init' method 2019-11-22 21:38:27 +01:00
storage Revert "storage/callback: do not run sync code async" 2020-07-28 18:42:02 +02:00
tests tests/callback: ensure missing conf causes errors 2020-07-19 09:06:23 +02:00
tools Make qubesd connected directly as an socket qrexec service 2020-05-11 01:13:15 +02:00
vm Merge branch 'devel20200705' 2020-07-15 16:22:08 +02:00
__init__.py Deprecate property-del:name events and introduce property-reset:name instead 2020-05-23 03:57:42 +02:00
app.py storage/reflink: prefer canonical values for setup_check 2020-06-22 14:03:19 +00:00
backup.py backup: fix error handler for scrypt errors 2020-07-08 12:50:10 +02:00
config.py config: fix mistake in path for services 2020-03-08 09:47:09 +01:00
devices.py Make pylint happy 2019-09-27 16:29:20 +02:00
dochelpers.py Fix Sphinx 2 new API for Fedora 31+ 2019-11-22 21:39:31 +01:00
events.py collections.Callable -> collections.abc.Callable 2020-04-07 21:30:21 +00:00
exc.py Fixed Exceptions inferiting from KeyError 2019-12-09 21:02:24 +01:00
features.py Add pre- events to vm features 2020-03-17 18:46:12 +01:00
firewall.py Convert handler to use property-reset instead of property-del 2020-05-23 03:57:42 +02:00
log.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
rngdoc.py Remove python2 compat __future__ imports 2020-02-15 17:33:34 +00:00
tarwriter.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
utils.py Fix invalid timezone 2019-08-06 18:23:00 -03:00