Yury Kotov 3dcc9c6ec4 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>
2019-09-16 17:13:06 +02:00
..
2018-09-25 15:50:15 +02:00
2018-10-02 18:47:55 +02:00
2019-08-16 13:31:52 +02:00
2019-09-11 08:46:17 +02:00
2019-08-21 16:29:57 +02:00
2019-02-07 15:49:08 +02:00
2018-12-20 10:29:08 +01:00
2019-09-16 17:13:06 +02:00
2018-08-24 20:26:37 +02:00
2018-06-29 12:32:10 +02:00