startThreads and waitThreads