On 28/07/2017 02:25, Fam Zheng wrote: > On Thu, 07/27 15:47, Zhang Chen wrote: >> CC. Fam and David. >> >> Any idea about it? > > Is it possible to use g_main_context_{push,pop}_thread_default to "move" > chardev > GSources to IOThread's context, then use g_main_context_query like main thread > and poll the fds in aio_poll?
How would you do that without making aio_poll performance worse for everyone? Paolo