Feature #8882

rb_obj_is_mutex() into include/ruby/intern.h

Added by Masaki Matsushita 7 months ago. Updated 7 months ago.

[ruby-core:57090]
Status:Rejected
Priority:Normal
Assignee:Koichi Sasada
Category:-
Target version:2.1.0

Description

rbobjismutex() is currently an internal API function.
However, this function is useful for C extension developers to distinguish between Mutex and other objects extended by Mutex
m.
I want to use it in ext/thread/thread.c for this purpose.

patch.diff Magnifier (889 Bytes) Masaki Matsushita, 09/10/2013 12:29 AM

Associated revisions

Revision 43913
Added by Shota Fukumori 5 months ago

  • vminsnhelper.c (checkmatch): Fix SEGV with VMCHECKMATCHTYPE_CASE and class of pattern has method_missing [Bug #8882]

History

#1 Updated by Koichi Sasada 7 months ago

  • Status changed from Open to Rejected
  • Assignee set to Koichi Sasada

Maybe you want to use it for CV to make it fast.
However, we are not recommend CV because it is difficult primitive.
So we shouldn't touch it.

Also available in: Atom PDF