diff options
| author | Peter Xu | 2019-03-06 12:55:28 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2019-03-08 11:16:15 +0100 |
| commit | 21c4d15b4708b7d30c450041a560df670f36cac8 (patch) | |
| tree | 0a96bef0f39af5f31dc93dd2facd1039ff47c9b8 /python | |
| parent | hw/block/virtio-blk: Clean req->dev repetitions (diff) | |
| download | qemu-21c4d15b4708b7d30c450041a560df670f36cac8.tar.gz qemu-21c4d15b4708b7d30c450041a560df670f36cac8.tar.xz qemu-21c4d15b4708b7d30c450041a560df670f36cac8.zip | |
iothread: replace init_done_cond with a semaphore
Only sending an init-done message using lock+cond seems an overkill to
me. Replacing it with a simpler semaphore.
Meanwhile, init the semaphore unconditionally, then we can destroy it
unconditionally too in finalize which seems cleaner.
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-id: 20190306115532.23025-2-peterx@redhat.com
Message-Id: <20190306115532.23025-2-peterx@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
