mysql2/ext
Eric Wong fa213c9892 wrap mysql_real_connect with rb_thread_blocking_region
mysql_real_connect() is a blocking function that issues
blocking-but-interruptible connect(), read(), and write() system
calls.  So we'll allow other threads in the VM to run while
calling it since it can block indefinitely.

This introduces a rb_thread_blocking_region() wrapper for 1.8
which ensures any received signals can be handled gracefully
while inside blocking function calls.
2010-05-05 11:57:37 -07:00
..
extconf.rb wrap mysql_real_connect with rb_thread_blocking_region 2010-05-05 11:57:37 -07:00
mysql2_ext.c wrap mysql_real_connect with rb_thread_blocking_region 2010-05-05 11:57:37 -07:00
mysql2_ext.h wrap mysql_real_connect with rb_thread_blocking_region 2010-05-05 11:57:37 -07:00