toland/patron — pull request #44 by TwP (2011-10-15 15:04:54+00:00)
Title: Enable "rb_thread_blocking_region" by default 

If patron is installed in a Ruby 1.9 environment, it makes sense to use the thread blocking region semantics. This allows long running requests to proceed *without* blocking the entire Ruby virtual machine.

I attempted to find out a way to pass the USE_TBR flag to the gem during installation (gem install patron -- cppflags="-DUSE_TBR") but with little success. If there is a way to set USE_TBR during installation, please let me know.