性能下降问题,诸如释放资源(包括文件句柄、连接、信号和流)失败。
Performance Degradations such as failure to correctly release resources including file handles, connections, semaphores, and streams
在与POSIX兼容的系统上,文件句柄是进程属性,而不是线程属性。
On POSIX-compliant systems, file handles are process and not thread attributes. Here are a few guidelines for using file locking.
现在,把新的JPEG文件句柄交给curl,结果几乎与我所期望的一样。
Now, handing curl the new JPEG file handle produces exactly the results I want-almost.
服务器提供了一个root文件句柄,对应于服务器导出的文件系统树的顶。
The server provides a root file handle that represents the top of the file system tree exported by the server.
这些设施包括打开文件句柄(文件描述符)、共享内存、进程同步原语和当前目录。
Facilities include open file handles (file descriptors), Shared memory, process synchronization primitives, and current directory.
使文件句柄可由子进程继承。
同时,强制卸载会导致所有目标卷上打开的文件句柄失效。
At the same time, a forced dismount invalidates all open handles to files on the target volume.
关闭原始文件句柄时,互斥体句柄已关闭,并且对数据损坏保护会丢失。
When the original file handle is closed, the mutex handle is closed and the protections against data corruption are lost.
当应用程序打开一个文件句柄读取文件以处理文档时,它通常读取文件后就不再需要文件句柄了。
When an application opens a file handle to read in so it can process a document, it typically reads from the file and then has no further need for the file handle.
应用程序可以拥有堆栈、共用内存、文件句柄、消息队列这样的事物,而DLL不能。
An application can own things such as a stack, global memory, file handles, and a message queue, but a DLL cannot.
最常用的非托管资源类型是包装操作系统资源的对象,例如,文件句柄、窗口句柄或网络连接。
The most common type of unmanaged resource is an object that wraps an operating system resource, such as a file handle, window handle, or network connection.
在这里,布局枚举持有文件片段的服务器、每个服务器上文件片段的大小,以及每个片段的NFS文件句柄。
Here, the layout enumerates the servers that hold the pieces of the file, the size of the stripe on each server, and the NFS file handle of each segment.
一个很好的例子是文件处理,你需要获取一个文件句柄,从文件中读取数据,然后关闭文件句柄。
A very good example for this is the situation where you want to gain a handler to a file, read data from the file and the close the file handler.
但它确实能够让人神往,例如,通过写/读文件句柄,可以直接写/读数据库,或者在关闭文件时发送一封电子邮件。
They do offer fascinating possibilities, for instance writing/reading a file handle could write/read directly to a database, or send an e-mail when you close the file.
CreateIoCompletionPort函数会使一个I/O完成端口与一个或多个文件句柄发生关联。
The CreateIoCompletionPort function associates an I/O completion port with one or more file handles.
如果说平台库提供终结器来清除打开的文件句柄,这大大降低了忘记显式地关闭这些句柄的风险,为什么不更多地使用终结器呢?
If the platform libraries provide finalizers for cleaning up open file handlers, which greatly reduces the risk of forgetting to close them explicitly, why aren't finalizers used more often?
文件句柄上的每个操作(例如open、read、write、rewind、truncate和close)影响文件的状态。
Each operation on a file handle-open, read, write, rewind, truncate, and close, for example-affects the state of the file.
在某种程度上,让服务器维护文件句柄正是tlogmaker . py所做的工作,但是它将最新的记录存储在文件而不是存储在内存中。
In a way, having the server maintain a file handle is just what tlogmaker.py does, but it stores the latest records in a file rather than in memory.
在Perl中打开神奇的文件句柄(filehandle),这会将传送给Perl的每个参数作为文件名打开并逐行读取每个文件的内容。
Opening the magical filehandle in Perl, opens every argument passed to Perl as a filename and reads in the contents of each file line by line.
分配给一个运行的进程的默认文件句柄数量和共享内存不足以在MacOSX 上运行IBMInformixDynamicServer。
The default amount of file handles and shared memory allocated to a running process is insufficient to run IBM Informix Dynamic Server on Mac OS X.
另一方面,像文件句柄和套接字句柄这类非内存资源必须由程序显式地释放,比如使用close()、destroy()、shutdown()或release() 这样的方法来释放。
On the other hand, nonmemory resources like file handles and socket handles must be explicitly released by the program, using methods with names like close(), destroy(), shutdown(), or release().
Handle给出进程所用句柄(文件、套接字等)的列表。
Handle shows the list of handles (to files, sockets, and so on) that a process is using.
MutableFile是另一个特定于Roo的类,它表示一个可以进行修改的文件的句柄。
MutableFile is another Roo-specific class which represents a handle to a file which can be modified.
这将带来便利,因为如果我们只使用了单一的文件,我们仅仅需要一个文件操作句柄,这样我们就无需消耗过多的系统资源。
This comes in handy, because if we use only one file, we need only one File Handle, and so we won't exhaust too many System Resources.
文件首先得到数据库句柄,句柄保存在一个全局变量中。
The file starts with getting the database handle, which it stores in a global variable.
可以看出我们的进程中有一个句柄,该句柄指向类路径目录和几个JAR文件。
You can see that our process has a handle to the directory on our classpath and to several JAR files.
事实上,该进程还有更多的句柄,但默认情况下该工具仅显示引用文件的句柄。
In fact the process has a lot more handles, but by default the utility only shows handles that refer to files. You can display others by using the -a parameter.
指针指向一个用于接收指定文件小图标的句柄数组。
Pointer to an array of icon handles that receives handles to the small ICONS extracted from the file.
指针指向一个用于接收指定文件小图标的句柄数组。
Pointer to an array of icon handles that receives handles to the small ICONS extracted from the file.
应用推荐