summary refs log tree commit diff stats
path: root/scripts/qapi/expr.py
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2024-02-02 18:28:36 +0800
committerPeter Xu <peterx@redhat.com>2024-02-05 14:42:10 +0800
commit48c0f5d56fd2ff0a0cda23301637b742c690f59a (patch)
treedec3f9c788f73c26688a706643c8430c959acb7c /scripts/qapi/expr.py
parent8888a552bf7af200e36ff123772547dfb4f133c4 (diff)
downloadfocaccia-qemu-48c0f5d56fd2ff0a0cda23301637b742c690f59a.tar.gz
focaccia-qemu-48c0f5d56fd2ff0a0cda23301637b742c690f59a.zip
migration/multifd: multifd_send_kick_main()
When a multifd sender thread hit errors, it always needs to kick the main
thread by kicking all the semaphores that it can be waiting upon.

Provide a helper for it and deduplicate the code.

Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240202102857.110210-3-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions