my $thread_count = threads->list();