= private = protected
locked?()
Returns true if this lock is currently held by some thread.
VALUE rb_mutex_locked_p(VALUE self) { rb_mutex_t *mutex; GetMutexPtr(self, mutex); return mutex->th ? Qtrue : Qfalse; }