deregister all events after fork

Jan-Philip Gehrcke jgehrcke at googlemail.com
Mon Nov 5 17:19:58 CET 2012


Hello,

ev_loop_fork() ensures that an event loop works properly in the child 
after forking. After doing this, I would like to clean up the event 
loop. I don't know if I get the terminology right -- I want to 
deregister all events and re-initialize the event loop with the effect 
that basically nothing that has been triggered in the parent process has 
an effect in the child process. Is there an easy way to do this?

Thanks for your help,

Jan-Philip



More information about the libev mailing list