Mathieu Bouchard wrote:

> Ruby has its own little internal thread system that works by making the
> evaluator cooperatively threading with itself; C-level libraries that do
> I/O or long-lasting operations are encouraged to participate.

By explicitly yielding control?

Emile