could anyone tell me about how to exit the program using libev

Marc Lehmann schmorp at schmorp.de
Thu Jun 28 12:38:11 CEST 2012


On Thu, Jun 28, 2012 at 11:52:02AM +0200, Zsbán Ambrus <ambrus at math.bme.hu> wrote:
> > You cannot call ev_break from another thread - a loop is a shared resource,
> > and would need to be locked properly.
> 
> Ah, correct.  I didn't read the original question properly.  Sorry.

What Zsbán wrote still fully applies in addition to what I have written
:)

-- 
                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