From: Hidetoshi NAGAI Date: 2003-11-11T01:02:53+09:00 Subject: Re: Segfault in Ruby/ODBC Hi, From: "Nathaniel Talbott" Subject: Re: Segfault in Ruby/ODBC Date: Mon, 10 Nov 2003 22:48:34 +0900 Message-ID: <003701c3a791$2e582150$c81e140a@abraham> > Thanks for the reply! A few questions: > - How do I use the --with-pthread-ext configure option? > Do I pass it to extconf.rb for the extension? Or do I > need to enable it when I compile Ruby? When enable '--with-pthread-ext', for example, 'pthread_mutex_lock' is added to rb_thread_schedule() function on eval.c. That is, you must re-configure and re-compile Ruby. # Please pay attention to the patch for tcltklib.c. # To fix the problem, I had to edit the source file as only one # ruby-thread can call Tcl/Tk's internal functions. > - Is this option available under 1.8.1-preview2? Or do > I need to use the most recent CVS? Please try the most recent CVS. The last change for '--with-pthread-ext' option was adopted at 2003/11/08 13:49:50 JST. -- 永井 秀利 (九工大 知能情報) nagai@ai.kyutech.ac.jp