2012/6/5 Bill Paulson <lists / ruby-forum.com>:
> 1) How to tell which thread owns the global_vm_lock?

In some 1.9.X versions of Ruby there *was* a public funtion in thread.c:

  int rb_has_gvl_p(void)

or maybe:

  int has_gvl_p(void)


Unfortunately it's not present anymore in 1.9.3p0 (but it was in some
1.9.2pXXX version, sure, I used it).

-- 
Iaki Baz Castillo
<ibc / aliax.net>