* [sleepy.penguin] [ANN] sleepy_penguin 3.3.0 - fixes and compatibility improvements
@ 2013-12-30 1:34 5% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2013-12-30 1:34 UTC (permalink / raw)
To: sleepy.penguin
Changes:
Most notably, this fixes memory leaks for any users of inotify
reads, epoll/kevent waiting using short-lived thread. Users of
long-lived threads for these functions (all Rainbows!, yahns, and
zbatery users) are not affected. A fair amount of internal cleanup
was necessary for this.
Compatibility with non-Linux systems without clock_gettime is
improved, thanks to Lin Jen-Shin.
Note: the kevent code is not at all optimized and still uses
RARRAY_PTR, so it likely sucks under rbx and MRI 2.1.
Eric Wong (13):
test_epoll: minor compatibility fix for Ruby 2.1.0
avoid RARRAY_PTR usage for Linux-only bits
init: avoid redefinition warning for _GNU_SOURCE
Rakefile: kill raa_update task
util: minor cleanup to favor rb_io_get_io
tests: switch to minitest
test_epoll: switch test_dup_and_fork to exit!
remove all signalfd-related files
tests: remove version-dependent FD_CLOEXEC checks
work around lack of rb_io_get_io in Rubinius
value2timespec: use StringValueCStr for correctness
refactor and fix leak from thread-local storage use
extconf: avoid unnecessary linkage against libkqueue
Lin Jen-Shin (1):
Support for broken system without clock_gettime.
* http://bogomips.org/sleepy_penguin/
* sleepy.penguin@librelist.org
* git://bogomips.org/sleepy_penguin.git
* http://bogomips.org/sleepy_penguin/NEWS.atom.xml
^ permalink raw reply [relevance 5%]
* [sleepy.penguin] [PATCH] extconf: avoid unnecessary linkage against libkqueue
@ 2013-12-27 23:13 7% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2013-12-27 23:13 UTC (permalink / raw)
To: sleepy.penguin
The check for libkqueue may succeed out-of-the-box on Debian systems
where libkqueue-dev is installed. However, libkqueue-dev on Debian
installs sys/event.h in a non-standard include path
(/usr/include/kqueue), so it is not picked up by default and
kqueue support is never compiled.
So only check for (and link to) libkqueue if we are configured
to detect sys/event.h. This should not affect users on *BSD
platforms with native kqueue support.
---
ext/sleepy_penguin/extconf.rb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ext/sleepy_penguin/extconf.rb b/ext/sleepy_penguin/extconf.rb
index 3a6152b..407c947 100644
--- a/ext/sleepy_penguin/extconf.rb
+++ b/ext/sleepy_penguin/extconf.rb
@@ -1,8 +1,9 @@
require 'mkmf'
have_header('sys/epoll.h')
dir_config('kqueue')
-have_library('kqueue')
-have_header('sys/event.h')
+if have_header('sys/event.h')
+ have_library('kqueue')
+end
have_header('sys/mount.h')
have_header('sys/eventfd.h')
--
EW
^ permalink raw reply related [relevance 7%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-12-27 23:13 7% [sleepy.penguin] [PATCH] extconf: avoid unnecessary linkage against libkqueue Eric Wong
2013-12-30 1:34 5% [sleepy.penguin] [ANN] sleepy_penguin 3.3.0 - fixes and compatibility improvements Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/sleepy_penguin.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).