On Sat, Dec 01, 2012 at 11:57:30PM +0800, ss_liao <[email protected]> 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
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev