Ruby Language Comment tuer un fil


Exemple

Vous appelez utiliser Thread.kill ou Thread.terminate :

thr = Thread.new { ... }
Thread.kill(thr)