… | |
… | |
230 | |
230 | |
231 | |
231 | |
232 | Another sometimes useful bit of functionality is the Linux signalfd, which |
232 | Another sometimes useful bit of functionality is the Linux signalfd, which |
233 | is useful for faster signal handling (don't care). Kernel support for |
233 | is useful for faster signal handling (don't care). Kernel support for |
234 | this will be probed at runtime, but your libc must contain the necessary |
234 | this will be probed at runtime, but your libc must contain the necessary |
235 | wrapper and include files. Glibc 2.9 and later should have this wrapper. |
235 | wrapper. Glibc 2.7 and later should have this wrapper. |
236 | |
236 | |
237 | EOF |
237 | EOF |
238 | |
238 | |
239 | my $can_signalfd = -e "/usr/include/sys/signalfd.h"; |
239 | my $can_signalfd = -e "/usr/include/sys/signalfd.h"; |
240 | $can_signalfd = $ENV{EV_SIGNALFD} if exists $ENV{EV_SIGNALFD}; |
240 | $can_signalfd = $ENV{EV_SIGNALFD} if exists $ENV{EV_SIGNALFD}; |