From: "Kroeger, Simon (ext)" Date: 2006-06-20T19:27:43+09:00 Subject: C Threads and Ruby Hi, i know the ruby interpreter isn't thread safe and it's not a good idea to call rb_* functions from more than one thread. Nevertheless, is there a way to signal the interpreter that i would like him to call one of my functions in a c extension? (from another thread) The only way i figured out so far would be to create a pipe, let a ruby thread sleep on the fd and put a byte in the queue from c the wake the thread. (good, bad, ugly?) cheers Simon