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
···
--
Posted via http://www.ruby-forum.com/.