take() : 移除并返回队头元素,如果队列空则阻塞
System.out.println("end "+thread.getName()); } }
参考黑马教程资料:http://yun.itheima.com/map/22.html?zzpwl