Here, we have a thread solely responsible for processing a nonblocking channel (the producer) and another thread solely responsible for consuming the data as a stream (the consumer).
这里,我们让一个线程单独负责处理非阻塞通道(生产者),让另一个线程单独负责把数据作为流消费(消费者)。
So, if a thread is blocked in an I/O operation on a channel, another thread can close that channel.
所以,如果一个线程在某条通道的I/O操作上阻塞时,那么另一个线程可以将这条通道关闭。
As the nonblocking channel is read, it is written into a pipe that is being consumed by a second thread.
当读取非阻塞通道时,把它写到正由第二个线程消费的管道。
On the right of the TCP channel configuration panel, click on ThreadPools to create a new Thread Pool for this channel (Figure 3).
在TCP通道配置面板的右侧单击ThreadPools,为此通道创建新线程池(图3)。
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操作(这也是一个同步的方法,所以阅读器线程在继续处理之前必须得到监视器锁)。
After the thread pool is created, you can select the TCP inbound channel link from the trail above, which lets you to go back and set the thread pool for that port (Figure 4).
创建线程池之后,可以按照上面的步骤选中TCPinboundchannel链接,从而回来设置该端口的线程池(图4)。
The main thread writes bytes read from the channel into the pipe.
主线程把从通道读取的数据写到管道中。
It is about the ring screw thread smoke channel of the boiler shell type gas tube in the boiler field.
锅壳式烟管锅炉烟管内置水管的环形螺纹烟道,它涉及锅炉领域。
It has the same revolving 90 degrees movements, what is different is the cock body is the spheroid, has the circular through hole or the channel passes its spool thread.
它具有相同的旋转90度动作,不同的是旋塞体是球体,有圆形通孔或通道通过其轴线。
The top part of one inner bolt which matches the blank hole channel of the outer hollow screw is also conical. The rear is provided with a thread and a tetragonal body for holding.
一与外空心螺钉的盲孔道相匹配的内螺栓,内螺栓的尖端部位亦为锥形,尾部设有螺纹和供握持用的四方体。
The grease should be laid on the periphery of seal ring, the inner of ladder-shaped screw thread and chuck ring oil channel during installation.
安装时应将橡胶密封圈四周,梯形螺纹内,压环油槽内,中心管外径上涂黄油。
The grease should be laid on the periphery of seal ring, the inner of ladder-shaped screw thread and chuck ring oil channel during installation.
安装时应将橡胶密封圈四周,梯形螺纹内,压环油槽内,中心管外径上涂黄油。
应用推荐