日期:
来源:雅诚德英语网
Listing 6 shows a method that waits on a blocking queue until an item is available, regardless of whether it is interrupted.
清单6展示了一个方法,该方法等待一个阻塞队列,直到队列中出现一个可用项目,而不管它是否被中断。
Listing 6 shows a method that waits on a blocking queue until an item is available, regardless of whether it is interrupted.
清单6展示了一个方法,该方法等待一个阻塞队列,直到队列中出现一个可用项目,而不管它是否被中断。