On Sat, Dec 01, 2012 at 11:57:30PM +0800, ss_liao <ss_l...@163.com> wrote:
> I'm beginner on libev, I can compile libev-4.11 in minGW, and I write some 
> code like this:

Your code is badly misformatted, so I mightoverlook some detail, but it looks
ok.

> ev_io_start (loop, &stdin_watcher);
> ev_timer_start (loop, &timeout_watcher);

it probably crashes on either of these lines, and if yourdebugging output is
correct (it might not be) then it's because loop is 0.

I am afraid you have to debug this yourself - however, did you compile
libev using the same compiler and flags as your program, and are you sure you
are linking to the right libev?

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schm...@schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to