summaryrefslogtreecommitdiff
path: root/version.h
diff options
context:
space:
mode:
authorNAKAMURA Usaku <usa@ruby-lang.org>2022-03-05 21:38:48 +0900
committerNAKAMURA Usaku <usa@ruby-lang.org>2022-03-05 21:38:48 +0900
commitf740ffb81f3ef11526add528583b0cbfce28af67 (patch)
tree18931c618c80b9ac334ca2faf1f7d8211a12ea61 /version.h
parent1034b6e7ba9442320e16c260d634d4c64d5e62bf (diff)
merge revision(s) b3d62a77d928eff01268ca7fa1c1c0966702926d [Backport #17803]
[ruby/zlib] Synchronize access to zstream to prevent segfault in multithreaded use I'm not sure whether this handles all multithreaded use cases, but this handles the example that crashes almost immediately and does 10,000,000 total deflates using 100 separate threads. To prevent the tests from taking forever, the committed test for this uses only 10,000 deflates across 10 separate threads, which still causes a segfault in the previous implementation almost immediately. Fixes [Bug #17803] https://github.com/ruby/zlib/commit/4b1023b3f2 --- ext/zlib/zlib.c | 33 ++++++++++++++++++++++++++- test/zlib/test_zlib.rb | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+), 1 deletion(-)
Diffstat (limited to 'version.h')
-rw-r--r--version.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/version.h b/version.h
index 960bec511d..750dc066e5 100644
--- a/version.h
+++ b/version.h
@@ -2,11 +2,11 @@
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
#define RUBY_VERSION_TEENY 6
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
-#define RUBY_PATCHLEVEL 209
+#define RUBY_PATCHLEVEL 210
-#define RUBY_RELEASE_YEAR 2021
-#define RUBY_RELEASE_MONTH 12
-#define RUBY_RELEASE_DAY 31
+#define RUBY_RELEASE_YEAR 2022
+#define RUBY_RELEASE_MONTH 3
+#define RUBY_RELEASE_DAY 5
#include "ruby/version.h"