PATCH: Integrating libev with other runloops

Marc Lehmann schmorp at schmorp.de
Sun Oct 24 13:56:39 CEST 2010


On Sat, Oct 23, 2010 at 11:55:30PM -0000, Christian Parpart <trapni at gentoo.org> wrote:
> But if libev officially supports integrating into other event loops (or
> vice versa) then I'd highly appreciate it. :-)

libev supported this officially from the very beginning, in many ways
(each event loop is different of course, and support is required by both
embedding and embedded loop) - the fatc that there are both solutions to
embed glib in libev and vice versa shows this.

it does need to be implemented cleanly however - exposing some unrelated
internal values is not going to work reliably.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list