diff options
| author | Yury Kotov | 2019-09-09 15:13:33 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2019-09-16 17:13:06 +0200 |
| commit | 3dcc9c6ec4ea60fd1464b35aa82199483f24ba75 (patch) | |
| tree | a5783dd0cfda9df2e82aa63a3be577a913e86ec1 /scripts/modules | |
| parent | memory: inline and optimize devend_memop (diff) | |
| download | qemu-3dcc9c6ec4ea60fd1464b35aa82199483f24ba75.tar.gz qemu-3dcc9c6ec4ea60fd1464b35aa82199483f24ba75.tar.xz qemu-3dcc9c6ec4ea60fd1464b35aa82199483f24ba75.zip | |
qemu-thread: Add qemu_cond_timedwait
The new function is needed to implement conditional sleep for CPU
throttling. It's possible to reuse qemu_sem_timedwait, but it's more
difficult than just add qemu_cond_timedwait.
Also moved compute_abs_deadline function up the code to reuse it in
qemu_cond_timedwait_impl win32.
Signed-off-by: Yury Kotov <yury-kotov@yandex-team.ru>
Message-Id: <20190909131335.16848-2-yury-kotov@yandex-team.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/modules')
0 files changed, 0 insertions, 0 deletions
