Project

General

Profile

Feature #8882

rb_obj_is_mutex() into include/ruby/intern.h

Added by Glass_saga (Masaki Matsushita) over 4 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Normal
Target version:
[ruby-core:57090]

Description

rb_obj_is_mutex() 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 (889 Bytes) patch.diff Glass_saga (Masaki Matsushita), 09/10/2013 12:29 AM

Associated revisions

Revision 205399b0
Added by sorah (Sorah Fukumori) over 4 years ago

  • vm_insnhelper.c (check_match): Fix SEGV with VM_CHECKMATCH_TYPE_CASE and class of pattern has method_missing [Bug #8882]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 43913
Added by sorah (Sorah Fukumori) over 4 years ago

  • vm_insnhelper.c (check_match): Fix SEGV with VM_CHECKMATCH_TYPE_CASE and class of pattern has method_missing [Bug #8882]

Revision 43913
Added by sorah (Sorah Fukumori) over 4 years ago

  • vm_insnhelper.c (check_match): Fix SEGV with VM_CHECKMATCH_TYPE_CASE and class of pattern has method_missing [Bug #8882]

Revision 43913
Added by sorah (Sorah Fukumori) over 4 years ago

  • vm_insnhelper.c (check_match): Fix SEGV with VM_CHECKMATCH_TYPE_CASE and class of pattern has method_missing [Bug #8882]

Revision 43913
Added by sorah (Sorah Fukumori) over 4 years ago

  • vm_insnhelper.c (check_match): Fix SEGV with VM_CHECKMATCH_TYPE_CASE and class of pattern has method_missing [Bug #8882]

Revision 43913
Added by sorah (Sorah Fukumori) over 4 years ago

  • vm_insnhelper.c (check_match): Fix SEGV with VM_CHECKMATCH_TYPE_CASE and class of pattern has method_missing [Bug #8882]

Revision 6136b992
Added by nagachika (Tomoyuki Chikanaga) about 4 years ago

merge revision(s) 43913: [Backport #8872] [Backport #9175]

* vm_insnhelper.c (check_match): Fix SEGV with VM_CHECKMATCH_TYPE_CASE
  and class of `pattern` has `method_missing`
  [Bug #8882] 

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

History

#1 [ruby-core:57534] Updated by ko1 (Koichi Sasada) over 4 years ago

  • Status changed from Open to Rejected
  • Assignee set to ko1 (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