* [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] test_epoll: switch test_dup_and_fork to exit!
@ 2013-10-19 8:46 7% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2013-10-19 8:46 UTC (permalink / raw)
To: sleepy.penguin
exit! is preferable for forked processes in tests since
exit may fire at_exit handlers for tests depending on
which test suite or version of Ruby is loaded.
This was problematic in minitest 5.0.8 but not 4.3.2
---
Note: we already use exit! in many places in tests
test/test_epoll.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/test_epoll.rb b/test/test_epoll.rb
index ed67988..88d0b6c 100644
--- a/test/test_epoll.rb
+++ b/test/test_epoll.rb
@@ -52,7 +52,7 @@ class TestEpoll < Testcase
@ep.close
assert ! epdup.closed?
pid = fork do
- exit(!epdup.closed? && @ep.closed?)
+ exit!(!epdup.closed? && @ep.closed?)
end
_, status = Process.waitpid2(pid)
assert status.success?, status.inspect
--
1.8.4.483.g7fe67e6.dirty
^ 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-10-19 8:46 7% [sleepy.penguin] [PATCH] test_epoll: switch test_dup_and_fork to exit! 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).