Using libev in a GUI

Marc Lehmann schmorp at schmorp.de
Wed Jan 6 07:42:20 CET 2010


On Tue, Jan 05, 2010 at 05:29:15PM -0800, Tim McClarren <tim at idle-games.com> wrote:
> newly created loop.  If you need to handle signals, you'll want to use  
> the default loop though.

Oh, yeah, signal handling is rather contorted with threads - usually you
run best by setting your signal mask in all threads except the main thread
(or any other single thread), and handle signals there only.

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