ev_default_destroy

Marc Lehmann schmorp at schmorp.de
Fri Mar 6 17:08:05 CET 2009


On Thu, Mar 05, 2009 at 08:33:13AM +0100, Malek Hadj-Ali <malek at lcde.net> wrote:
> Is it valid to call ev_default_destroy more than once (on 'different'
> default loop)?

yes, as long as you call ev_default_loop again to recreate it.

> Example code below fails on the second call to ev_default_destroy with
> the following error:

which libev version is that? there was a bug in 3.45 like this.

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



More information about the libev mailing list