• Significantly fewer system file descriptors are used.

    使用的系统文件描述符明显减少。

    youdao

  • Remember that file descriptors include things like sockets.

    请记住,文件描述符包括诸如套接字之类的内容。

    youdao

  • The pollcache manages a potentially large set of file descriptors.

    poll 缓存管理一个可能很大的文件描述符集。

    youdao

  • Connectors should not access the filesystem or file descriptors directly.

    连接器不应对文件系统或文件描述符进行直接访问。

    youdao

  • When a process duplicates itself, the kernel makes a copy of all open file descriptors.

    当某个进程复制它自身时,内核生成所有打开的文件描述符的副本。

    youdao

  • From this, you can see that PID 2452 has the file opened on file descriptors 2 (standard error) and 7.

    在这个示例中,您可以看到PID 2452打开文件的文件描述符为2(标准错误)和7。

    youdao

  • A select call returns a list of file descriptors for which at least one registered event has occurred.

    select调用返回一个文件描述符列表,对于每个文件描述符至少注册了一个事件。

    youdao

  • The state of idle file descriptors is known since the pollcache service is notified once when it changes.

    空闲文件描述符的状态是已知的,因为在状态改变时会通知 poll缓存服务。

    youdao

  • A pipe is composed of a queue and two file descriptors-one to enqueue data and the other to dequeue data.

    管道由一个队列和两个文件描述符(一个用于数据入列,另一个用于数据出列)组成。

    youdao

  • An application then registers the file descriptors and interested events directly into the native pollset layer.

    应用程序直接向本机pollset层注册文件描述符和感兴趣的事件。

    youdao

  • Additionally, the POSIX API USES simple file descriptors for read and write and so should seem much more familiar.

    另外,POSIXAPI使用简单的文件描述符执行读写,大家应该更熟悉。

    youdao

  • Where you can, avoid the operations that take file names, and use the operations that take file descriptors instead.

    只要有可能,应尽量避免使用获取文件名的操作,而是使用获取文件描述符的操作。

    youdao

  • After the fork, the parent and child have copies of all open file descriptors and data values, so the pointer works for both.

    执行fork之后,父进程和子进程获得打开的所有文件描述符和数据值的拷贝,所以指针对于它们都是有效的。

    youdao

  • The traditional polling method, however, has a scalability issue; it does not scale well for a large number of file descriptors.

    但是,传统的poll方法有可伸缩性问题;它不太适合处理大量文件描述符。

    youdao

  • Facilities include open file handles (file descriptors), Shared memory, process synchronization primitives, and current directory.

    这些设施包括打开文件句柄(文件描述符)、共享内存、进程同步原语和当前目录。

    youdao

  • When all file descriptors for an instance are closed, the resources and underlying object are freed so the kernel can reuse them.

    当关于某实例的所有文件描述符都关闭时,资源和下层对象都将释放,以供内核再次使用。

    youdao

  • Both use two standard file descriptors on each end of the connection-one exclusive to read and another exclusive to write operations.

    它们在连接的两端使用两个标准的文件描述符—一个只执行读操作,另一个只执行写操作。

    youdao

  • The application then registers channels (file descriptors) and interested operations to the selector with a register call on the channel.

    然后,应用程序用register调用向选择器注册通道(文件描述符)和感兴趣的操作。

    youdao

  • The fundamental problem is that the amount of work to be done for each poll operation scales linearly with the number of file descriptors.

    根本问题是,随着文件描述符数量的增加,每个poll操作所需的工作量会线性增加。

    youdao

  • Release is called when there are no more references to an open file — all file descriptors are closed and all memory mappings are unmapped.

    release是在对一个打开文件没有其他引用时调用的——此时所有的文件描述符都会被关闭,所有的内存映射都会被取消。

    youdao

  • The selector then registers file descriptors and interested events into a native pollset structure when the application registers the channel.

    当应用程序注册通道时,选择器在本机pollset结构中注册文件描述符和感兴趣的事件。

    youdao

  • Extents An extent is a way to improve the efficiency of on-disk file descriptors, reducing deletion times for large files, among other things.

    extent extent是一种提高磁盘文件描述符效率的方法,它能够减少删除大型文件所需的时间等等。

    youdao

  • Within a kernel, a considerable amount of memory is allocated for a finite set of objects such as file descriptors and other common structures.

    在内核中,会为有限的对象集(例如文件描述符和其他常见结构)分配大量内存。

    youdao

  • If you want to peer into two UNIX processes, the create two pipes and rewire the file descriptors of each process to act both as a producer and a consumer.

    如果希望探察两个UNIX进程,那么要创建两个管道,重新连接每个进程的文件描述符,让它们同时作为生成者和消费者。

    youdao

  • For example, the client maintains a table of the current paths of file descriptors, so a path can be sent to the server along with an operation such as fchmod (2).

    例如,客户端维护一个关于文件描述符的当前路径的表,从而实现将路径和操作(比如fchmod(2))一起发送到服务器。

    youdao

  • One of the threads then calls the SPU_RUN ioctl on the run file, while the other runs in an event loop on the mailbox files and potentially other file descriptors.

    其中一个线程然后会对运行文件调用SPU_RUNioctl系统调用,而其他线程则可以对邮箱文件和其他可能的文件描述符执行一个事件循环。

    youdao

  • Because the list of open file descriptors of an application give a great deal of information about the application itself, being able to peer into this list is helpful.

    因为应用程序打开文件的描述符列表提供了大量关于这个应用程序本身的信息,所以能够查看这个列表将是很有帮助的。

    youdao

  • The selector internally calls a native poll() function (shown in Listing 5), which provides a mechanism for multiplexing inputs and outputs over a set of file descriptors

    选择器在内部调用一个本机poll()函数(见清单5),这个函数支持在一组文件描述符上多路复用输入和输出

    youdao

  • As a bit of helpful trivia, each application is initially opened with three file descriptors, 0 through 2, for the standard input, output, and error streams, respectively.

    有一点不是很重要但却很有帮助,初始打开每个应用程序时,都具有三个文件描述符,从0到2,分别表示标准输入、输出和错误流。

    youdao

  • If poll is called in a loop, these expensive system calls involved in polling can dramatically affect the overall performance when a large number of file descriptors are monitored.

    在监视大量文件描述符时,如果在循环中调用poll ,poll所涉及的这些高成本的系统调用会严重影响总体性能。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定