public AsyncLineStopper(DataLine line, long delayMS) {
this.line = line;
this.delayMS = delayMS;
thread = new Thread(this);
thread.setDaemon(true);
// starts the thread and waits until it becomes ready
synchronized (readyEvent) {
thread.start();
try {
readyEvent.wait();
} catch (InterruptedException ex) { }
}
}
DataLine_ArrayIndexOutOfBounds.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:jdk8u-jdk
作者:
评论列表
文章目录