lib/yahns/sigevent_efd.rb in yahns-1.2.0 vs lib/yahns/sigevent_efd.rb in yahns-1.3.0
- old
+ new
@@ -6,10 +6,10 @@
def self.new
super(0, SleepyPenguin::EventFD::CLOEXEC)
end
def sev_signal
- incr(1) # eventfd_write
+ incr(1, true) # eventfd_write
end
def yahns_step
value(true) # eventfd_read, we ignore this data
:wait_readable