… | |
… | |
131 | .\} |
131 | .\} |
132 | .rm #[ #] #H #V #F C |
132 | .rm #[ #] #H #V #F C |
133 | .\" ======================================================================== |
133 | .\" ======================================================================== |
134 | .\" |
134 | .\" |
135 | .IX Title "LIBEV 3" |
135 | .IX Title "LIBEV 3" |
136 | .TH LIBEV 3 "2013-10-29" "libev-4.15" "libev - high performance full featured event loop" |
136 | .TH LIBEV 3 "2013-12-27" "libev-4.15" "libev - high performance full featured event loop" |
137 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
137 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
138 | .\" way too many mistakes in technical documents. |
138 | .\" way too many mistakes in technical documents. |
139 | .if n .ad l |
139 | .if n .ad l |
140 | .nh |
140 | .nh |
141 | .SH "NAME" |
141 | .SH "NAME" |
… | |
… | |
2553 | only within the same loop, i.e. you can watch for \f(CW\*(C`SIGINT\*(C'\fR in your |
2553 | only within the same loop, i.e. you can watch for \f(CW\*(C`SIGINT\*(C'\fR in your |
2554 | default loop and for \f(CW\*(C`SIGIO\*(C'\fR in another loop, but you cannot watch for |
2554 | default loop and for \f(CW\*(C`SIGIO\*(C'\fR in another loop, but you cannot watch for |
2555 | \&\f(CW\*(C`SIGINT\*(C'\fR in both the default loop and another loop at the same time. At |
2555 | \&\f(CW\*(C`SIGINT\*(C'\fR in both the default loop and another loop at the same time. At |
2556 | the moment, \f(CW\*(C`SIGCHLD\*(C'\fR is permanently tied to the default loop. |
2556 | the moment, \f(CW\*(C`SIGCHLD\*(C'\fR is permanently tied to the default loop. |
2557 | .PP |
2557 | .PP |
2558 | When the first watcher gets started will libev actually register something |
2558 | Only after the first watcher for a signal is started will libev actually |
2559 | with the kernel (thus it coexists with your own signal handlers as long as |
2559 | register something with the kernel. It thus coexists with your own signal |
2560 | you don't register any with libev for the same signal). |
2560 | handlers as long as you don't register any with libev for the same signal. |
2561 | .PP |
2561 | .PP |
2562 | If possible and supported, libev will install its handlers with |
2562 | If possible and supported, libev will install its handlers with |
2563 | \&\f(CW\*(C`SA_RESTART\*(C'\fR (or equivalent) behaviour enabled, so system calls should |
2563 | \&\f(CW\*(C`SA_RESTART\*(C'\fR (or equivalent) behaviour enabled, so system calls should |
2564 | not be unduly interrupted. If you have a problem with system calls getting |
2564 | not be unduly interrupted. If you have a problem with system calls getting |
2565 | interrupted by signals you can block all signals in an \f(CW\*(C`ev_check\*(C'\fR watcher |
2565 | interrupted by signals you can block all signals in an \f(CW\*(C`ev_check\*(C'\fR watcher |