At a later point in time, the reader thread invokes the read operation on the channel (this is also a synchronized method, so the reader thread must acquire the monitor lock before proceeding).
稍后,阅读器线程调用通道上的read操作(这也是一个同步的方法,所以阅读器线程在继续处理之前必须得到监视器锁)。
Tries to enter the lock in read mode, with an optional integer time-out.
尝试进入读取模式锁定状态,可以选择整数超时时间。
Tries to enter the lock in read mode, with an optional time-out.
尝试以选用的逾时,在读取模式下进入锁定状态。
Tries to enter the lock in read mode, with an optional time-out.
尝试以选用的逾时,在读取模式下进入锁定状态。
应用推荐