On Thu, Jun 28, 2012 at 06:35:42PM +0800, debuguo <waterawo...@gmail.com> wrote: > must I call ev_run() in one function, and call ev_break() in the same > funtion?
no, it doesn't matter where you call these, as long as they are called from within the same thread (or with appropriate locking and waking). -- 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