Bug #8660

rb_thread_blocking_region deprecated, no alternative in ruby.h

Added by Matt Connolly 9 months ago. Updated 9 months ago.

[ruby-core:56093]
Status:Rejected
Priority:Normal
Assignee:-
Category:-
Target version:-
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 rbthreadcallwithoutgvl 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 9 months ago

  • Status changed from Open to Rejected

See ruby/thread.h.

Also available in: Atom PDF