异步I/O让应用程序能够在不阻塞的情况下读写数据。
The asynchronous I/O allows applications to read and write data without blocking.
但是,这种做法不总是我们想要的,读线程很可能希望等待(即阻塞自身),直到有数据可用时为止。
This may not always be the desired approach, however, and it is likely that the reader thread might want to wait or block itself until the time data becomes available.
数据是以非阻塞方式从通道中读取的,并被写到Client对象中。
Data is read from the channel in a nonblocking fashion and written to the Client object.
这种安全、高容量、抗阻塞的无线(非卫星)系统通过数字数据以及话音通信使战场用户互连。
The secure, high-capacity, jam-resistant wireless (non-satellite) system connects users with both digital data and voice communications.
在非阻塞连接的情况下,返回0表示没有可以获得的数据,返回-1表示连接出错。
On a non-blocking connection, a return of 0 means no data was available, and -1 indicates an error.
该设计能够很好地实现有序的网络数据传输,降低在大型网络考试时发生网络阻塞的几率,具有较强的实用性。
This design can transmit the mesh data orderly and well and reduce the congestion in the massive network test, and it has a strong practical value.
按阻塞的资源列出资源争用数据。
它会阻塞线程直到有数据被读取或连接关闭。
It will block the thread until there is data to be read or the connection is closed.
它会阻塞线程直到有数据被读取或连接关闭。
It will block the thread until either there is data to be read or the connection is closed.
显示分析数据的图形时间线,并列出大多数阻塞事件中所涉及的函数和资源。
Displays a graphical timeline of the profiling data and lists the functions and resources that participated in the most blocking events.
您可能会想考虑使用一个非阻塞的日志系统,以防止您的终端用户等待您记录数据。
You may want to consider using a logging system that is non-blocking, so that your end user never waits for you to log data.
数据传输线程在完成传输前将被阻塞,因此在窗口消息到达时它将不能及时处理这些消息。
The data transfer thread will be blocked until the transfer is complete, so it will not be able to process the window messages as soon as they arrive.
当监视应用程序试图执行另一次select或阻塞的read调用时,这些调用会立即返回,因为缓冲区中有未读的事件发生数据。
Once the monitoring application attempts another select or blocking read , those calls will return immediately since there is unread event occurrence data waiting in the buffer.
对于阻塞队列,只有读线程需要在队列中没有数据时等待。
In a blocking queue, only the reader thread needs to wait when there is no data in the queue.
所有数据请求和解析都由浏览器处理,因此可以减少服务器的负载,避免阻塞页面上的其它portlet的呈现。
All the data requests and parsing are handled by the browser, thereby reducing the server load and avoiding blocking other portlets on the page from rendering.
这里,我们让一个线程单独负责处理非阻塞通道(生产者),让另一个线程单独负责把数据作为流消费(消费者)。
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).
这样做虽然解决了数据争用问题,但是在并发性方面付出了更多的代价,因为在迭代期间锁住整个list会阻塞其他线程,使它们在很长一段时间内不能访问这个列表。
This addresses the data race, but has further costs for concurrency, since locking the entire list while iterating could block other threads from accessing the list for a long time.
注意,触发选项控制其他跟踪属性已经选择的跟踪数据是正常生成,还是被阻塞。
Note that the trigger option controls whether what has been selected by the other trace properties is produced as normal or whether it is blocked.
结论是:提高大攻角实验数据准确度的关键在于减少和修正由于阻塞效应引起的系统误差。
The conclusion is that the key to raise the experimental accuracy lies in reducing and correcting the systematic errors due to blockage effect at high angles of attack.
当首次依靠症状诊断时,70%的患者有气流阻塞,到症状缓解的时候,此数据降低到50%。
When first diagnosed with the syndrome, 70% of the patients had airway obstruction, by the time syndrome remission had been achieved this figure was reduced to 50%.
如果在读的时候,数据尚未完全到达套接字,则线程将在读操作上阻塞,一直到数据可用。
If during a read, data has not completely arrived at the socket, the thread will block on the read operation until all the data is available.
也可以在数据库系统没有离线的情况下执行离线备份,方法是当复制数据库目录的时候冻结系统(阻塞所有写操作)。
Offline backup can also be performed without bringing the database system offline by freezing the system (blocking all write operations) while copying the database directory.
内容路由服务器,存在频繁的数据库操作,通过线程池框架,实现数据库的非阻塞操作。
There are frequent operations on database in the content router server, so non-blocking operations on database are implemented by thread pool framework.
这个堆栈没有锁;这种无锁的并发数据结构也称为非阻塞数据结构。
No locks will be included; this kind of lock-free, concurrent data structure is also referred to as a non-blocking data structure.
一般情况下,当应用程序调用read时,代码会阻塞,直到有数据可读。
Normally, when an application makes a read call, the code blocks until there is data to be read.
如果sync为true,那么信息就会被同步请求,这意味着当从服务器检索数据时,用户界面将会被阻塞。
If sync is true, the information is requested synchronously, which means the user interface is blocked while retrieving data from the server.
这是因为大多数套接字操作都是异步地进行的,其中套接字进行轮询以检查数据是否出现,而不是使得应用程序处于阻塞(等待)状态以等待响应。
This is because most socket operations are made asynchronously in that the socket is polled to see if data is present rather than having the application block (wait) for the response.
如果UI线程需要处理每一件事情,那些耗时很长的操作——诸如访问网络或查询数据库等——将会阻塞整个UI(线程)。
Specifically, if everything is happening in the UI thread, performing long operations such as network access or database queries will block the whole UI.
特别是,如果把所有的事件都放在主线程中来处理,需要长时间来处理的事件比如网络访问或者数据库查询,会阻塞整个UI。
Specifically, if everything is happening in a single thread, performing long operations such as network access or database queries on the UI thread will block the whole user interface.
在非阻塞模式中,线程将读取已经可用的数据(不论多少),然后返回执行其它任务。
In nonblocking mode, the thread will read whatever amount of data is available and return to perform other tasks.
应用推荐