使用这两种文件句柄类型,服务器实现可以具备与服务器上操作系统的文件系统相匹敌的能力。
With these two file handle types, the server implementation can match the abilities of the file system at the server along with the operating system.
服务器提供了一个root文件句柄,对应于服务器导出的文件系统树的顶。
The server provides a root file handle that represents the top of the file system tree exported by the server.
在与POSIX兼容的系统上,文件句柄是进程属性,而不是线程属性。
On POSIX-compliant systems, file handles are process and not thread attributes. Here are a few guidelines for using file locking.
这将带来便利,因为如果我们只使用了单一的文件,我们仅仅需要一个文件操作句柄,这样我们就无需消耗过多的系统资源。
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 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.
可传一个文件映射对象的句柄来创始位图。或者让系统为位图分配内存。
You can supply a handle to a file-mapping object that the function will use to create the bitmap, or you can let the system allocate the memory for the bitmap.
可传一个文件映射对象的句柄来创始位图。或者让系统为位图分配内存。
You can supply a handle to a file-mapping object that the function will use to create the bitmap, or you can let the system allocate the memory for the bitmap.
应用推荐