Re: [PATCH] thread-posix: optimize qemu_sem_timedwait with zero timeout

2022-02-23 Thread Philippe Mathieu-Daudé
On 23/2/22 09:36, Paolo Bonzini wrote: In this case there is no need to call pthread_cond_timedwait; the function is just a trywait and waiting on the condition variable would always time out. Based-on: <20220222090507.2028-1-longpe...@huawei.com> ^ Please remove when applying. Reviewed-by: P

RE: [PATCH] thread-posix: optimize qemu_sem_timedwait with zero timeout

2022-02-23 Thread longpeng2--- via
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Wednesday, February 23, 2022 4:36 PM > To: qemu-devel@nongnu.org > Cc: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > > Subject: [PATCH] thread-posix: optimiz