зеркало из https://github.com/github/ruby.git
b3d62a77d9
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 |
||
---|---|---|
.. | ||
win32 | ||
.gitignore | ||
depend | ||
extconf.rb | ||
extlibs | ||
zlib.c | ||
zlib.gemspec |