Forum: Ruby thread count

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B1bfd91125fe17724594fd422eae8bec?d=identicon&s=25 brad (Guest)
on 2006-04-23 04: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.

Thanks,
Brad
This topic is locked and can not be replied to.