首页> 美国政府科技报告 >Parallelization of File Descriptor Management. Revision 1.2
【24h】

Parallelization of File Descriptor Management. Revision 1.2

机译:文件描述符管理的并行化。修订版1.2

获取原文

摘要

When a task opens a file, the operating system returns a file descriptor andprovides an index into a pool of file structure pointers referenced from the task's file descriptor table. Each task has its own file descriptor table. Under BSD4.4 the size of a pool of file structure pointers may grow during runtime bounded by an upper limit. During the time when the pointer list is expanded, all activities must be suspended till the old list has been copied into the new list and all future references are directed to the new list. A file structure may be pointed to from one or more file descriptor tables as a result of a fork, dup, or dup2 system call. In parallelizing accesses to a task's file descriptor table, a simple spin lock named fd spLock is used to protect all fields in the filedesc structure. In particular, fd spLockis used to protect the allocation and deallocation of a file structure pointer.

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号