[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] libvhost-user-glib: use g_main_context_get_thre
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] libvhost-user-glib: use g_main_context_get_thread_default() |
Date: |
Fri, 20 Sep 2019 09:54:46 +0100 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
On Tue, Sep 17, 2019 at 02:25:12PM +0200, Johannes Berg wrote:
> From: Johannes Berg <address@hidden>
>
> If we use NULL, we just get the main program default mainloop
> here. Using g_main_context_get_thread_default() has basically
> the same effect, but it lets us start different devices in
> different threads with different mainloops, which can be useful.
>
> Signed-off-by: Johannes Berg <address@hidden>
> ---
> contrib/libvhost-user/libvhost-user-glib.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature