У меня вывод получается: secondGroup-pool-1-thread-1 secondGroup-pool-3-thread-3 firstGroup-pool-1-thread-1 firstGroup-pool-2-thread-2 secondGroup-pool-2-thread-2 firstGroup-pool-3-thread-3 А нужен : secondGroup-pool-2-thread-1 firstGroup-pool-1-thread-1 firstGroup-pool-1-thread-3 secondGroup-pool-2-thread-3 firstGroup-pool-1-thread-2 secondGroup-pool-2-thread-2 помогите понять, что не так