From: Roger Pack Date: 2009-07-15T12:49:43+09:00 Subject: Re: C ext / threading / callback issue, ruby-1.9.1p129 > rb_thread_blocking_region((rb_blocking_function_t *)w->callback, tmp_x, > RUBY_UBF_IO, 0); Hmm. This question might be more easily answered by the core folk, but perhaps you're assigning the value of w->callback to a ruby proc object, when what you wanted was perhaps a pointer to a C method. So the question is how to call proc objects in C? I've never done it, but glancing at README.EXT appears to be something like rb_iterate or rb_block_call (the latter for 1.9 esp.) Not sure of that's right but it's about as far as my know-how goes. GL. =r -- Posted via http://www.ruby-forum.com/.