Project

General

Profile

Actions

Feature #8882

closed

rb_obj_is_mutex() into include/ruby/intern.h

Added by Glass_saga (Masaki Matsushita) about 9 years ago. Updated about 9 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.


Files

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

Updated by ko1 (Koichi Sasada) about 9 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.

Actions

Also available in: Atom PDF

Like0
Like0