… | |
… | |
2136 | to install a fork handler with C<pthread_atfork> that resets it. That will |
2136 | to install a fork handler with C<pthread_atfork> that resets it. That will |
2137 | catch fork calls done by libraries (such as the libc) as well. |
2137 | catch fork calls done by libraries (such as the libc) as well. |
2138 | |
2138 | |
2139 | In current versions of libev, you can also ensure that the signal mask is |
2139 | In current versions of libev, you can also ensure that the signal mask is |
2140 | not blocking any signals (except temporarily, so thread users watch out) |
2140 | not blocking any signals (except temporarily, so thread users watch out) |
2141 | by specifying the C<EVFLAG_NOSIGNALFD> when creating the event loop. This |
2141 | by specifying the C<EVFLAG_NOSIGFD> when creating the event loop. This |
2142 | is not guaranteed for future versions, however. |
2142 | is not guaranteed for future versions, however. |
2143 | |
2143 | |
2144 | =head3 Watcher-Specific Functions and Data Members |
2144 | =head3 Watcher-Specific Functions and Data Members |
2145 | |
2145 | |
2146 | =over 4 |
2146 | =over 4 |