Forum: Ruby thread count

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
brad (Guest)
on 2006-04-23 06:54
I'm writing a basic socket server in Ruby. I've made it use threads to
handle multiple simultaneous connections. What's the simpliest way to
count the number of current threads? Python has a threading.activeCount
method that does this.

This topic is locked and can not be replied to.