On Thu, Feb 25, 2016 at 09:50:20AM +0800, adream <[email protected]> wrote:
> It seems that ev_loop_fork didn't work as expected.
> Am I misunderstand the document?
Possibly - how _are_ you understanding it? :)
> So, can any guys shows me an example which would have different
> behavior if I call the ev_loop_fork or not?
If you want to use a loop before and after a fork, you need to tell libev
about it (or make it check for it). Not doing so is a bug, and finding out
how things then break (or not) is academic.
--
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/mailman/listinfo/libev