[#81492] [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — normalperson@...

Issue #13618 has been reported by normalperson (Eric Wong).

12 messages 2017/06/01

[ruby-core:81839] Re: [Ruby trunk Feature#13434] better method definition in C API

From: Eric Wong <normalperson@...>
Date: 2017-06-30 00:02:47 UTC
List: ruby-core #81839
Eric Wong <normalperson@yhbt.net> wrote:
> 	rb_method_attr_setfl(&attr, 0, RB_CONST|RB_PERSIST|RB_REQUIRED);
> 	rb_method_attr_setfl(&attr, 1, RB_REQUIRED);
> 	rb_def_method(rb_Hash, "[]=", rb_hash_aset, &attr);
> 
> 
> For "exception: (true|false)"
> 
> 	rb_method_attr_setkw_const(&attr, "exception", Qtrue);

I'm investigating implementing something along these lines;
not my area of expertise but I think I can learn something.
Will report back in a few days (hope I do not sidetracked into
something else :x).

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next