有些实现打开读取通道作为长期HTTPGET,而另外打开写入通道作为HTTPPOST,在需要时打开和关闭。
Some implementations open a read channel as a long HTTP GET, while a write channel opens and closes when needed as an HTTP POST.
因为当全部读取消息时,非阻塞通道没有给出任何提示,所以强制我们在协议层处理这一情况。
Because nonblocking channels give no indication when a message has been fully read, we are forced to handle this at the protocol layer.
读取进程彼此竞争使用的通道,写入进程也一样。
Reading processes compete with each other to use the channel, as do writing processes.
可更改通道的范围来只读取使用中的管脚的值。
Change the range of channels to read only the pins you are using.
主线程把从通道读取的数据写到管道中。
The main thread writes bytes read from the channel into the pipe.
当PPE将一个数据字写入这个地址时,SPU就可以从对应的邮箱读通道中读取这个数据字的内容。
When the PPE writes a data word to that address, the SPU can read from its corresponding mailbox read channels.
当读取非阻塞通道时,把它写到正由第二个线程消费的管道。
As the nonblocking channel is read, it is written into a pipe that is being consumed by a second thread.
通道警卫总是对应着进程等候从中读取数据的通道。
Channel guards always correspond to a channel that the process is waiting to read data from.
通道参数可以读取多次。
数据是以非阻塞方式从通道中读取的,并被写到Client对象中。
Data is read from the channel in a nonblocking fashion and written to the Client object.
mbox和ibox用来读取那些被写入SPU邮箱写通道的数据,不过语义稍有不同。
mbox and ibox are used to read data written to the SPU mailbox write channels and have slightly different semantics.
从通道读取对象的接口叫作ChannelInput,它只有一个方法,叫作read 。
The interface to read from a channel is called ChannelInput and consists of a single method called read .
然后,ParaplexInt的单一输出通道向CSProcess传送数据,后者则接着读取带有三个元素的数组,并在适当的格式化表格中输出它们。
The single output channel of the ParaplexInt would then feed into a CSProcess, which in turn would read an array with three elements and print them out in the appropriately formatted table.
无论怎样读取文件,您都可以使用fpassthru 将其余数据转储到标准输出通道。
No matter how you've been reading your file, you can dump the rest of your data to your standard output channel using fpassthru.
JCSP定义了两个接口用于从通道读取对象和向通道写入对象。
JCSP defines two interfaces for reading from and writing to channels.
如果焦点在输入读取之间发生切换,则终止xev进程的旧通道并启动新通道。
If the focus has changed between input reads, the old pipe to the xev process is killed and a new one started.
交换通道可以循环读取文件对象中的行。这是内存操作的效率,快速,代码简单。
An alternate approach to reading lines is to loop over the file object. This is memory efficient, fast, and leads to simpler code.
交换通道可以循环读取文件对象中的行。这是内存操作的效率,快速,代码简单。
An alternate approach to reading lines is to loop over the file object. This is memory efficient, fast, and leads to simpler code.
应用推荐