diff options
| author | Adrian Herrmann <adrian.herrmann@qt.io> | 2023-02-17 17:47:25 +0100 |
|---|---|---|
| committer | Adrian Herrmann <adrian.herrmann@qt.io> | 2023-03-02 17:10:51 +0100 |
| commit | e49516c724a11ac084372b5f0d7d62a35af363cc (patch) | |
| tree | fdb7643fa6ac4e90bf22b37fa3590df9d8abc527 /build_scripts/options.py | |
| parent | 99f1b42b39bc6d0ef5cbef50e47c81eb24dfc994 (diff) | |
examples: Improvements to the asyncio examples
- The asyncio AsyncHelper enters a quasi idle loop of switching between
the asyncio event loop and the Qt event loop, where the asyncio event
loop never receives new work at some point (besides yielding to Qt)
and wastes memory and CPU cycles. Remedy this by signaling to
AsyncHelper when asyncio's work is done.
- Don't pass signals as parameters.
- Fix comments in the asyncio examples that mentioned Trio.
- Renamed the requirements files as only the Trio examples need them.
- Remove unused imports.
Pick-to: 6.4
Task-number: PYSIDE-2169
Change-Id: Ia7197ea3446dd6ae514089b0dd260214c458db6a
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts/options.py')
0 files changed, 0 insertions, 0 deletions
