* [ANNOUNCE] mwrap 2.2.0
@ 2022-08-22 18:21 5% Eric Wong
0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2022-08-22 18:21 UTC (permalink / raw)
To: mwrap-public; +Cc: Sam Saffron
This release adds Ruby 2.7, 3.0, and 3.1 support.
This also fixes breakage in urcu v0.11.4, v0.12.3, and v0.13.1.
While urcu v0.12.4 and v0.13.2 were released 2022-08-18,
old versions will continue to be in distros for a while
(and urcu v0.11.x won't be updated).
There are also several updates ported from the Perl version.
7 changes since v2.1.0 in 2018:
memalign: perform rcu_read_unlock on ENOMEM
workaround breakage from urcu v0.11.4
constify arg for totals_add_rcu
support Ruby 3.0.x
disable HeapPageBody count test for Ruby 3.1
quiet uninitialized and unused variable warnings
various doc updates
Available via RubyGems and https://80x24.org/mwrap/
(I've Bcc-ed some folks since I'm not sure if their addresses are public)
^ permalink raw reply [relevance 5%]
* [PATCH 1/3] constify arg for totals_add_rcu
2022-08-20 21:35 6% [PATCH 0/3] Ruby 3.x support Eric Wong
@ 2022-08-20 21:35 7% ` Eric Wong
0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2022-08-20 21:35 UTC (permalink / raw)
To: mwrap-public; +Cc: Sam Saffron
It's not modified by that function, so constify it for
ease-of-reading and review.
---
ext/mwrap/mwrap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/mwrap/mwrap.c b/ext/mwrap/mwrap.c
index 477b1cb..8592ea7 100644
--- a/ext/mwrap/mwrap.c
+++ b/ext/mwrap/mwrap.c
@@ -367,7 +367,7 @@ acc_stddev(const struct acc *acc)
return DBL2NUM(acc_stddev_dbl(acc));
}
-static struct src_loc *totals_add_rcu(struct src_loc *k)
+static struct src_loc *totals_add_rcu(const struct src_loc *k)
{
struct cds_lfht_iter iter;
struct cds_lfht_node *cur;
^ permalink raw reply related [relevance 7%]
* [PATCH 0/3] Ruby 3.x support
@ 2022-08-20 21:35 6% Eric Wong
2022-08-20 21:35 7% ` [PATCH 1/3] constify arg for totals_add_rcu Eric Wong
0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2022-08-20 21:35 UTC (permalink / raw)
To: mwrap-public; +Cc: Sam Saffron
1st patch is a cleanup patch I noticed along the way,
2/3 fixes things for Ruby 3.0.x, and 3/3 disables a test
for Ruby 3.1.
3.1 support of heap page bodies will require wrapping mmap,
which may happen at some point
Haven't tested on current ruby.git nor 3.2 previews,
nor anything aside from x86-64.
Eric Wong (3):
constify arg for totals_add_rcu
support Ruby 3.0.x
disable HeapPageBody count test for Ruby 3.1
ext/mwrap/extconf.rb | 7 +++++++
ext/mwrap/mwrap.c | 27 ++++++++++++++++++++++-----
test/test_mwrap.rb | 29 ++++++++++++++++++-----------
3 files changed, 47 insertions(+), 16 deletions(-)
^ permalink raw reply [relevance 6%]
Results 1-3 of 3 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-08-20 21:35 6% [PATCH 0/3] Ruby 3.x support Eric Wong
2022-08-20 21:35 7% ` [PATCH 1/3] constify arg for totals_add_rcu Eric Wong
2022-08-22 18:21 5% [ANNOUNCE] mwrap 2.2.0 Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/mwrap.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).