On POSIX-compliant systems, file handles are process and not thread attributes. Here are a few guidelines for using file locking.
在与POSIX兼容的系统上,文件句柄是进程属性,而不是线程属性。
Facilities include open file handles (file descriptors), Shared memory, process synchronization primitives, and current directory.
这些设施包括打开文件句柄(文件描述符)、共享内存、进程同步原语和当前目录。
Performance Degradations such as failure to correctly release resources including file handles, connections, semaphores, and streams
性能下降问题,诸如释放资源(包括文件句柄、连接、信号和流)失败。
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.
分配给一个运行的进程的默认文件句柄数量和共享内存不足以在MacOS X 上运行IBMInformixDynamicServer。
The CreateIoCompletionPort function associates an I/O completion port with one or more file handles.
CreateIoCompletionPort函数会使一个I/O完成端口与一个或多个文件句柄发生关联。
An application can own things such as a stack, global memory, file handles, and a message queue, but a DLL cannot.
应用程序可以拥有堆栈、共用内存、文件句柄、消息队列这样的事物,而DLL不能。
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().
另一方面,像文件句柄和套接字句柄这类非内存资源必须由程序显式地释放,比如使用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().
另一方面,像文件句柄和套接字句柄这类非内存资源必须由程序显式地释放,比如使用close()、destroy()、shutdown()或 release() 这样的方法来释放。
应用推荐