code: public static Thread[] resolveRunningThreads()
  	{
  		final Set<Thread> threadSet = Thread.getAllStackTraces().keySet();
  		final Thread[] threadArray = threadSet.toArray(new Thread[threadSet.size()]);
  		return threadArray;
  	}
docs: Finds all threads the are currently running.
  
  @return An array with all threads the are currently running.