[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61378] [ruby-trunk - Feature #9612] [Open] Gemify OpenSSL

From: e@...
Date: 2014-03-08 02:25:40 UTC
List: ruby-core #61378
Issue #9612 has been reported by Zachary Scott.

----------------------------------------
Feature #9612: Gemify OpenSSL
https://bugs.ruby-lang.org/issues/9612

* Author: Zachary Scott
* Status: Open
* Priority: Normal
* Assignee: 
* Category: ext/openssl
* Target version: current: 2.2.0
----------------------------------------
Previously in #9439 we discussed removing OpenSSL from Ruby, however this wasn't the right approach.

I would like to suggest Aaron's approach from [ruby-core:60075](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/60075)

You can see his patch here: https://github.com/tenderlove/ruby/commit/fd96a5b

As [ruby-core:60063](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/60063) states, we will need to modify the visibility of thread_native.h as seen here: https://github.com/ruby/ruby/blob/8cacc6459/ext/openssl/ossl.c#L469-L480



-- 
http://bugs.ruby-lang.org/

In This Thread

Prev Next