[ruby-core:91025] Re: normal:r66712 (trunk): introduce rb_nogvl C-API to mark ubf as async-signal-safe

From: Kazuhiro NISHIYAMA <zn@...>
Date: 2019-01-11 15:41:23 UTC
List: ruby-core #91025
>   https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66712

https://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/thread.h?r1=66712&r2=66711&pathrev=66712

> +/* flags for rb_nogvl */
> +#define RB_NOGVL_INTR_FAIL       (0x1)
> +#define RB_NOGVL_UBF_ASYNC_SAFE  (0x2)

I think enum is better for debugger.

> + * XXX: unstable/unapproved - out-of-tree code should NOT not depend

"NOT not"?

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