diff options
author | Yury Kotov <yury-kotov@yandex-team.ru> | 2019-09-09 16:13:33 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-16 17:13:06 +0200 |
commit | 3dcc9c6ec4ea60fd1464b35aa82199483f24ba75 (patch) | |
tree | a5783dd0cfda9df2e82aa63a3be577a913e86ec1 /docs | |
parent | 7a3df11c2a647cf889f6ede8b7d5f81438bb5cc9 (diff) |
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 'docs')
0 files changed, 0 insertions, 0 deletions