ext/sleepy_penguin/signalfd.c in sleepy_penguin-3.0.1 vs ext/sleepy_penguin/signalfd.c in sleepy_penguin-3.1.0

- old
+ new

@@ -1,10 +1,9 @@ #ifdef HAVE_SYS_SIGNALFD_H #include "sleepy_penguin.h" #include <signal.h> #include <sys/signalfd.h> -static ID id_list; static VALUE ssi_members; static VALUE cSigInfo; /* converts a Symbol, String, or Fixnum to an integer signal */ static int sig2int(VALUE sig) @@ -241,19 +240,22 @@ * Document-class: SleepyPenguin::SignalFD * * Use of this class is NOT recommended. Ruby itself has a great * signal handling API and its implementation conflicts with this. * + * This class is currently disabled and the documentation is only + * provided to describe what it would look like. + * * A SignalFD is an IO object for accepting signals. It provides * an alternative to Signal.trap that may be monitored using * IO.select or Epoll. * * SignalFD appears interact unpredictably with YARV (Ruby 1.9) signal * handling and has been unreliable in our testing. Since Ruby has a * decent signal handling interface anyways, this class is less useful * than signalfd() in a C-only environment. * - * It is not supported at all under (Matz) Ruby 1.8. + * It is not supported at all. */ cSignalFD = rb_define_class_under(mSleepyPenguin, "SignalFD", rb_cIO); /* * Document-class: SleepyPenguin::SignalFD::SigInfo