could anyone tell me about how to exit the program using libev
Marc Lehmann
schmorp at schmorp.de
Thu Jun 28 12:39:58 CEST 2012
On Thu, Jun 28, 2012 at 06:35:42PM +0800, debuguo <wateraworld at 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
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the libev
mailing list