… | |
… | |
458 | \& fatal ("no epoll found here, maybe it hides under your chair"); |
458 | \& fatal ("no epoll found here, maybe it hides under your chair"); |
459 | .Ve |
459 | .Ve |
460 | .IP "ev_default_destroy ()" 4 |
460 | .IP "ev_default_destroy ()" 4 |
461 | .IX Item "ev_default_destroy ()" |
461 | .IX Item "ev_default_destroy ()" |
462 | Destroys the default loop again (frees all memory and kernel state |
462 | Destroys the default loop again (frees all memory and kernel state |
463 | etc.). This stops all registered event watchers (by not touching them in |
463 | etc.). None of the active event watchers will be stopped in the normal |
464 | any way whatsoever, although you cannot rely on this :). |
464 | sense, so e.g. \f(CW\*(C`ev_is_active\*(C'\fR might still return true. It is your |
|
|
465 | responsibility to either stop all watchers cleanly yoursef \fIbefore\fR |
|
|
466 | calling this function, or cope with the fact afterwards (which is usually |
|
|
467 | the easiest thing, youc na just ignore the watchers and/or \f(CW\*(C`free ()\*(C'\fR them |
|
|
468 | for example). |
465 | .IP "ev_loop_destroy (loop)" 4 |
469 | .IP "ev_loop_destroy (loop)" 4 |
466 | .IX Item "ev_loop_destroy (loop)" |
470 | .IX Item "ev_loop_destroy (loop)" |
467 | Like \f(CW\*(C`ev_default_destroy\*(C'\fR, but destroys an event loop created by an |
471 | Like \f(CW\*(C`ev_default_destroy\*(C'\fR, but destroys an event loop created by an |
468 | earlier call to \f(CW\*(C`ev_loop_new\*(C'\fR. |
472 | earlier call to \f(CW\*(C`ev_loop_new\*(C'\fR. |
469 | .IP "ev_default_fork ()" 4 |
473 | .IP "ev_default_fork ()" 4 |