adding another watcher
Marc Lehmann
schmorp at schmorp.de
Tue Jun 11 23:05:51 CEST 2013
On Tue, Jun 11, 2013 at 09:15:45PM +0430, Jafar habibi livar <iceberg.90427 at gmail.com> wrote:
> I spent my day reading manualls . here's my questions
> is it possible to add another watcher after we called ev_run() ?
Yes, as long as you are inside a callback, or have otherwise locked the
loop, it's safe to start and stop watchers.
--
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