Bill Kelly wrote:

> 
> (*) Sleeping in C++ for an event from a Ruby thread: The C++ thread
> sleeps on a boost::condition variable.  The Ruby thread invokes a C
> extension method which notify()'s the condition variable.  Simple
> enough in this direction.
> 
> 

Can't you do this the other way around as well.... write C/C++ extension for ruby which stores 
reference to ruby thread, and call it from c++ code which would wake your ruby thread?

Zach