[ruby-oci8-devel] propose to implement pooling technology for Ruby-OCI8
kubo at jiubao.org
Mon Jan 21 10:54:02 EST 2008
On Jan 21, 2008 7:58 PM, shiwei zhang <shiwei.zhang at oracle.com> wrote:
> Many thanks to your explanation. Yet if it's Ruby1.9, which has brought
> Native Threads into Ruby, do you also think it's necessary to execute
> time-consuming operation in rb_thread_blocking_region()?
> Probably yes I
> think, because Ruby (even Ruby1.9) interpreter is using GIL (Global
> Interpreter Lock).
FYI, ruby's term is GVL not GIL. GVL is Giant VM Lock (line 17
in thread.c) or Global VM Lock (line 26 in thread.c). I don't
know which is correct.
More information about the ruby-oci8-devel