about summary refs log tree commit homepage
path: root/lib/yahns/sigevent_pipe.rb
DateCommit message (Collapse)
2019-04-02sigevent_*: fixup non-eventfd path
And slightly cleanup the Kgio::DefaultWaiters include for the eventfd path, too. Fixes: 96825e8ca734cfbb ("remove calls to kgio_wait_* able")
2019-01-07remove calls to kgio_wait_* able
IO#wait_readable existed since Ruby 2.0, so we don't need to use the "kgio_"-prefixed version.
2018-12-08remove IO#close_on_exec= calls
Since we've required Ruby 2.0+ for a while, we can assume descriptors are created with IO#close_on_exec=true and avoid bloating our code with calls to it.
2016-01-02copyright updates for 2016
Using the 'update-copyright' script from gnulib[1]: git ls-files | UPDATE_COPYRIGHT_HOLDER='all contributors' \ UPDATE_COPYRIGHT_USE_INTERVALS=2 \ xargs /path/to/gnulib/build-aux/update-copyright We're also switching to 'GPL-3.0+' as recommended by SPDX to be consistent with our gemspec and other metadata (as opposed to the longer but equivalent "GPLv3 or later"). [1] git://git.savannah.gnu.org/gnulib.git
2016-01-02enable frozen_string_literal for Ruby 2.3+
There are likely yet-to-be-discovered bugs in here. Also, keeping explicit #freeze calls for 2.2 users, since most users have not migrated to 2.3, yet.
2015-10-13copyright updates
Future updates may use the update-copyright script in gnulib: git ls-files | UPDATE_COPYRIGHT_HOLDER='all contributors' \ UPDATE_COPYRIGHT_USE_INTERVALS=2 \ xargs /path/to/gnulib/build-aux/update-copyright
2014-05-09sigevent: use non-blocking wakeup
There's almost no chance of blocking here, but better to be safe than sorry inside signal handlers. We would get the wakeup even if the pipe/event fd blocks.
2014-02-08sigevent_pipe: kgio_wait_writable takes variadic args
We may pass a timeout to kgio_wait_writable during shutdown.
2013-10-25enforce FD_CLOEXEC on all pipes, including tests
We need to prevent FD leakage on Ruby 1.9.3
2013-10-18initial commit