aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/utils.py
diff options
context:
space:
mode:
authorAdrian Herrmann <adrian.herrmann@qt.io>2024-07-03 18:36:20 +0200
committerAdrian Herrmann <adrian.herrmann@qt.io>2024-07-16 06:32:02 +0200
commit526bc12e42db7c6305bcc28ad8f6b7554597d725 (patch)
treea98f909fdf5c893bfe5d2937e0246acdae688dea /build_scripts/utils.py
parent32c36073e212e7ca17b1f7578d61195aefd9dbca (diff)
QtAsyncio: Add cancel count and uncancel
Implement the QAsyncioTask.uncancel() function and the associated cancel count. Note to reader: Unlike what the name suggests, the uncancel() function on its own does not undo a task cancellation. This must be performed by consuming the CancelledError exception, at which point uncancel() serves to remove the cancellation state. Pick-to: 6.7 Task-number: PYSIDE-769 Fixes: PYSIDE-2790 Change-Id: I4e817e1dd3f49179855432d20ed2f043090fd8f1 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/utils.py')
0 files changed, 0 insertions, 0 deletions