diff options
| author | Paolo Bonzini | 2022-05-14 08:50:12 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2022-05-25 21:26:26 +0200 |
| commit | 232e9255478f3849957d2f4b083d6e5d4736ab04 (patch) | |
| tree | f3de8d77aff683b2c62f2d42fbc4578234649efd /include/exec | |
| parent | thread-pool: replace semaphore with condition variable (diff) | |
| download | qemu-232e9255478f3849957d2f4b083d6e5d4736ab04.tar.gz qemu-232e9255478f3849957d2f4b083d6e5d4736ab04.tar.xz qemu-232e9255478f3849957d2f4b083d6e5d4736ab04.zip | |
thread-pool: remove stopping variable
Just setting the max threads to 0 is enough to stop all workers.
Message-Id: <20220514065012.1149539-4-pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Nicolas Saenz Julienne <nsaenzju@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
