diff options
Diffstat (limited to 'lib/dtas/sigevent/efd.rb')
-rw-r--r-- | lib/dtas/sigevent/efd.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/dtas/sigevent/efd.rb b/lib/dtas/sigevent/efd.rb index dc526f2..26c8025 100644 --- a/lib/dtas/sigevent/efd.rb +++ b/lib/dtas/sigevent/efd.rb @@ -1,5 +1,8 @@ # Copyright (C) 2013-2015 all contributors <dtas-all@nongnu.org> # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) + +# used in various places for safe wakeups from IO.select via signals +# This requires a modern Linux system and the "sleepy_penguin" RubyGem class DTAS::Sigevent < SleepyPenguin::EventFD # :nodoc: def self.new super(0, :CLOEXEC) |