发明名称 File system locking
摘要 <p>A method and system for managing process requests between and application program and an operating systems managing processes. Process requests and, in particular, file locking or unlocking requests from an application program written on one operating systems may causes files to be corrupted if the application program is ported to a new operating system without rewriting portions of the program code. A file locking emulator is used between an application program and an operating system. The file locking emulator comprises an application program interface and a file lock supervisor. The file locking emulator receives the file locking requests from the application program and generates file requests and file lock query commands. When the application program interface receives a file request it first checks the files lock status and then either returns an error for incompatible file requests or executes the compatible lock request along with any other compatible operation request such as a read, write or truncate file operation. Incompatible file locking requests return an error statement which may include error recovery options available to a user of the application program. The status of files accessed by the application program are stored in file lock managers. Only code in the file request emulator needs to be rewritten when an application program is ported to different operating systems sharing incompatible but executable processes. In this manner tested code of the application program does not have to be rewritten. &lt;IMAGE&gt;</p>
申请公布号 EP1187017(A2) 申请公布日期 2002.03.13
申请号 EP20010000060 申请日期 2001.03.20
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 HUTCHINSON, ROBERT BRIAN (US RESIDENT);SHIH, STUART TE-HUI (US RESIDENT)
分类号 G06F9/46;(IPC1-7):G06F9/46;G06F17/30 主分类号 G06F9/46
代理机构 代理人
主权项
地址