[ruby-core:60407] Re: is RB_GC_GUARD needed in rb_io_syswrite?

From: Nobuyoshi Nakada <nobu@...>
Date: 2014-02-01 11:52:22 UTC
List: ruby-core #60407
(2014/02/01 18:19), Eric Wong wrote:
> I haven't gotten it to crash as-is, but it seems like we need to
> prevent the compiler from optimizing str away while rb_write_internal
> is sleeping.

Indeed.

And we, ko1 an I, have talked whether we can guarantee that arguments
of cfunc should be marked, today.

In This Thread