Il 29/07/2013 10:20, liu ping fan ha scritto: >> > Another issue is that deadline computation is not using the AioContext's >> > timer lists. >> > > Sorry, can not catch the meaning. When AioContext has its own timer > lists, it will have its own deadline(for ppoll timeout). So the > computation should be based on AioContext's timer lists, right?
Associating the main loop's timer lists to other AioContexts is really really wrong... It is _already_ wrong to run timers in the main AioContext's aio_poll (because timers may not be ready to run from an arbitrary aio_poll), it is even worse to run them in other threads without taking the BQL. What exactly is the purpose of this series? Paolo