libeio on OSX (Snow Leopard): demo.c failed

Marc Lehmann schmorp at schmorp.de
Mon Nov 29 13:33:02 CET 2010


On Mon, Nov 29, 2010 at 10:50:58AM +0100, zabrane Mikael <zabrane3 at gmail.com> wrote:
> entering event loop
> want_poll ()
> res_cb(13|truncate) = -1
> Abort trap

further analysis shows that, surprisingly, os x seems to be off the hook
:) the failure is a permissions problem in demo.c, you can safely ignore
it.

that doesn't, however, invalidate the threading bugs in os x - basically,
it's safest to only ever use one I/O thread on os x, as the kernel itself
apparently isn't thread-safe.

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