[#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:61208] Re: RFC: some --with-static-linked-ext fixes

From: Nobuyoshi Nakada <nobu@...>
Date: 2014-03-02 01:02:44 UTC
List: ruby-core #61208
(2014/03/01 11:26), Eric Wong wrote:
>  * ext/extmk.rb: requires the .rb if the .rb and .so have the
>    same prefix (e.g. socket.rb vs socket.so).
>    Use rb_provide(feature) if feature.so is loaded and feature.rb
>    does not exist
>  * ext/openssl/extconf.rb: preload stringio.so
>  * ext/psych/extconf.rb: preload stringio.so
>  * load.c (ruby_init_ext): check rb_provided and use rb_provide

load.c seems necessary, please commit it only.
Others seem unnecessary.

-- 
Nobu Nakada

In This Thread