On Tue, Apr 21, 2009 at 11:02:31PM +0200, Ryan Dahl <[email protected]> wrote:
> As you suggested I'm using getaddrinfo with libeio for dns lookups.

hmm, ok.

> I'm calling it through eio_custom but getting a SIGSEGV. The problem
> appears to be related to the stacksize. When I remove the line

yeah, the stacksize has been railored to work for the existing code -
larger stacksizes of course require more resources (and the default on
linux might be as big as 2mb, precluding lots of threads).

I guess the only thing to be done would be to make this
compiletime-configurable in xthread.h. Obviously, I do not want to
incraese the stacksize for libeio by default.

> My eio_custom call is not fancy. Pasted below for reference.

yeah, the libeio has simply been optimised to not use much stack, so 4kb
is ok.

eek, c++!

:)

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