Mega Code Archive
Categories
/
Ruby
/
Threads
Getting a List of All Threads
Thread.list.each { |thread| thread.join unless thread == Thread.main }