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.
当监视应用程序试图执行另一次select或阻塞的read调用时,这些调用会立即返回,因为缓冲区中有未读的事件发生数据。
These are queues that have a wait free side where an NHRT can request to read or write some data (depending on the class) without the danger of blocking.
这些类是具有无等待端的队列,在这里,一个NHRT可以请求读或写某些数据(具体取决于类),而不存在阻塞的风险。
The ideal number is one per processor, but that implies that none of these threads should execute a blocking operation such as a synchronous read/write or a wait on an event.
理想的情况是,线程数量等于处理器的数量,不过这也要求任何线程都不应该执行诸如同步读写、等待事件通知等阻塞型的操作,以免线程阻塞。
The asynchronous I/O allows applications to read and write data without blocking.
异步I/O让应用程序能够在不阻塞的情况下读写数据。
In blocking mode, a thread will block on a read or a write until the operation is completely finished.
在阻塞模式中,线程将在读或写时阻塞,一直到读或写操作彻底完成。
When dealing with multiple file descriptors, an application typically sets each file descriptor as non-blocking (as shown in Listing 1) and issues a read on one file descriptor at a time.
在处理多个文件描述符时,应用程序通常把每个文件描述符设置为非阻塞(见清单1),每次对一个文件描述符执行read调用。
Blocking methods, such as read , will be counted as the total time, including the time the thread spends being unscheduled and waiting for the call to complete.
对于阻塞方法(例如Read)将会显示总共时间,包括线程正在等待调度以及方法返回的时间。
No problem, place a saucer at a 45 degree Angle to the pop-up flash and in front of it and be sure it's blocking (read acting as a gobo) any direct light from reaching the carrot cake.
没问题,放置在一个45度角的弹出式闪光灯,并在它前面的一个茶托,确保它的阻塞(读充当图案)到达胡萝卜蛋糕,直射光。
Programs should not count on this method to return the actual number of bytes that could be read without blocking.
程序不能依靠此方法返回不阻塞条件下读取的实际字节数。
Programs should not count on this method to return the actual number of bytes that could be read without blocking.
程序不能依靠此方法返回不阻塞条件下读取的实际字节数。
应用推荐