发明名称 OCCUPATION CONFLICT CONTROL METHOD FOR SHARED RESOURCES
摘要 PURPOSE:To smoothly process the conflict for occupation of shared resources by keeping the occupation request of a high-level task process waiting until the temporary release enable timing in case said occupation request of the high-level process is produced while a low-level task process is occupying the resources. CONSTITUTION:A group 6 of processes having preference levels respectively and conflicts with the shared resources 7 calls three procedures for occupation of the resources 7. In these procedures a flag 1 and a reservation flag 2 are utilized for each preference level to perform the control of conflict. A resources occupation request procedure 3 waits until all flags 1 can be turned on and therefore can turn on the flag 2. A resources occupation release procedure 4 executes the procedure 3 and then only the processing where all flags 1 are turned on to successively turn off the flags 1. Then the flags 1 can be turned on by another processing via the procedure 3. In a resources occupation process a resources occupation continuation check procedure 5 is carried out as necessary and the occupation processing is continued a resources continuation enable state is decided. While the processing is impossible with resources as long as long as the resources are not occupied again by the procedure 3 when a resources continuation unable state is decided. Thus the processing of a high level has preference.
申请公布号 JPS63124138(A) 申请公布日期 1988.05.27
申请号 JP19860270487 申请日期 1986.11.13
申请人 HITACHI LTD 发明人 YAMAMOTO KIYOSHI
分类号 G06F9/46 主分类号 G06F9/46
代理机构 代理人
主权项
地址