Re: Iteration over registered handlers

2020-11-30 Thread Marc Lehmann
On Wed, Nov 25, 2020 at 02:43:21PM +0100, Rick van Rein wrote: > I love libev. The complex to-do list in my mind quickly clears up when > I add it to a project. It's lovely to have this global database under a > single pointer that pops out relevant data alongside interesting events. > > For

Re: libev/libuv interoperation with ev_async

2020-11-30 Thread Marc Lehmann
On Mon, Nov 30, 2020 at 09:29:48PM +0300, Mons Anderson wrote: > I've found that all I need to integrate them is to have access to > evpipe (to put a watcher on it from another event loop), but libev > interface doesn't provide any way to access it. What exactly do you mean with evpipe? The

libev/libuv interoperation with ev_async

2020-11-30 Thread Mons Anderson
Hello I have an app that is built on top of libev. It has worker threads that communicate with the main thread using ev_async. For now I need to integrate a library that is built on top of libuv (for ex: h2o). I've found that all I need to integrate them is to have access to evpipe (to put a

Re: libev/libuv interoperation with ev_async

2020-11-30 Thread Marc Lehmann
On Mon, Nov 30, 2020 at 10:47:24PM +0300, Mons Anderson wrote: > > Every thread works in cooperative multitasking mode > (https://github.com/tarantool/tarantool/blob/master/src/lib/core/fiber.h#L636) > For networking with clients created a separate, net thread >