Daniel Rychlik wrote: > Hello, > > I’m curious is to how you get a thread count from perl threads… > > Surely there has to be a way…
I would think you would keep track of them as you create them. Couldn't you just use threads->list() ? my @ret = threads->list(); print scalar @ret, "\n"; # add one if you want to include the main/base thread _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
