Bug #8660

rb_thread_blocking_region deprecated, no alternative in ruby.h

Added by Matt Connolly almost 2 years ago. Updated almost 2 years ago.

[ruby-core:56093]
Status:Rejected
Priority:Normal
Assignee:-
ruby -v:2.0.0-p247 Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN

Description

In "ruby/intern.h", the function declaration for rb_thread_blocking_region is deprecated. The comment says "Use rb_thread_call_without_gvl family instead", yet there are no functions from that family in the header that can be used by extensions.

Should the method rb_thread_call_without_gvl be included in the header "ruby/intern.h" ?

History

#1 Updated by Nobuyoshi Nakada almost 2 years ago

  • Status changed from Open to Rejected

See ruby/thread.h.

Also available in: Atom PDF