Re: [Qemu-devel] [PATCH] eventfd: making it rhread safe

2012-07-18 Thread Michael S. Tsirkin
On Mon, Jul 02, 2012 at 05:48:16AM +1000, Alexey Kardashevskiy wrote: >Subject: Re: [PATCH] eventfd: making it rhread safe typo in the subject > QEMU uses IO handlers to run select() in the main loop. The handlers list is > managed by qemu_set_fd_handler() helper which works fine when called fro

Re: [Qemu-devel] [PATCH] eventfd: making it rhread safe

2012-07-18 Thread Alexey Kardashevskiy
Ping again? On 09/07/12 13:10, Alexey Kardashevskiy wrote: > Ping? > > On 02/07/12 05:48, Alexey Kardashevskiy wrote: >> QEMU uses IO handlers to run select() in the main loop. The handlers list is >> managed by qemu_set_fd_handler() helper which works fine when called from >> the main thread

Re: [Qemu-devel] [PATCH] eventfd: making it rhread safe

2012-07-08 Thread Alexey Kardashevskiy
Ping? On 02/07/12 05:48, Alexey Kardashevskiy wrote: > QEMU uses IO handlers to run select() in the main loop. The handlers list is > managed by qemu_set_fd_handler() helper which works fine when called from the > main thread as it is called not when select() is waiting. > > However sometime we

[Qemu-devel] [PATCH] eventfd: making it rhread safe

2012-07-01 Thread Alexey Kardashevskiy
QEMU uses IO handlers to run select() in the main loop. The handlers list is managed by qemu_set_fd_handler() helper which works fine when called from the main thread as it is called not when select() is waiting. However sometime we need to update the handlers list from another thread. For that