Thread.list.size > -----Original Message----- > From: list-bounce / example.com > [mailto:list-bounce / example.com] On Behalf Of brad > Sent: Saturday, April 22, 2006 19:54 > To: ruby-talk ML > Subject: thread count > > 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/. > >