On Thu, Jan 07, 2010 at 10:13:42AM -0800, Tim McClarren <[email protected]> 
wrote:
> SEGV does not get handled in a way that I would expect, so I wrote a  
> little test for it.

So what do you expect? There is no portable way to continue from
segfaults, and segfaults are asynchronous.

> I'm probably missing something obvious, or doing something wrong.

What you try to do makes no sense - segfaults are a serious issue, you
can't just pretend nothing has happened and continue (you would have to
*fix* the problem and tell your program where to continue afterwards).

You need to write your own handler to do that.

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

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to