getActiveThreads