写了一个简单的多线程的程序调试结果多出几个线程
程序:
调试结果:
Thread-0: send data 2 : 95
Thread-1: receive data: 95
Thread-0: send data 3 : 72
Thread-2: receive data: 72
Thread-0: send data 4 : 48
Thread-3: receive data: 48
Thread-4: receive data: 47
前后都多出了一个线程,不知道是怎么回事,请大家帮我看一下,谢谢!!