… | |
… | |
323 | fatal ("no epoll found here, maybe it hides under your chair"); |
323 | fatal ("no epoll found here, maybe it hides under your chair"); |
324 | |
324 | |
325 | =item ev_default_destroy () |
325 | =item ev_default_destroy () |
326 | |
326 | |
327 | Destroys the default loop again (frees all memory and kernel state |
327 | Destroys the default loop again (frees all memory and kernel state |
328 | etc.). This stops all registered event watchers (by not touching them in |
328 | etc.). None of the active event watchers will be stopped in the normal |
329 | any way whatsoever, although you cannot rely on this :). |
329 | sense, so e.g. C<ev_is_active> might still return true. It is your |
|
|
330 | responsibility to either stop all watchers cleanly yoursef I<before> |
|
|
331 | calling this function, or cope with the fact afterwards (which is usually |
|
|
332 | the easiest thing, youc na just ignore the watchers and/or C<free ()> them |
|
|
333 | for example). |
330 | |
334 | |
331 | =item ev_loop_destroy (loop) |
335 | =item ev_loop_destroy (loop) |
332 | |
336 | |
333 | Like C<ev_default_destroy>, but destroys an event loop created by an |
337 | Like C<ev_default_destroy>, but destroys an event loop created by an |
334 | earlier call to C<ev_loop_new>. |
338 | earlier call to C<ev_loop_new>. |