摘要 |
PROBLEM TO BE SOLVED: To easily detect the omission in release and the wrong use of messages. SOLUTION: When being called by a stream driver or a module, entry points 3, 4, and 51 to 5n report the address of a pertinent message and a caller function to a message management mechanism 1. When receiving the report from the entry point 3, the message management mechanism 1 allocates one of message use condition management cells 6 to store required information and links this cell to the position of a message management table 2 specified by this address. When receiving the report from the entry point 4, the mechanism 1 releases the pertinent cell of the message management table if the pertinent address exists, and the mechanism 1 registers it in a wrong free list 7 if it does not exist. When receiving the report from operation entry points 51 to 5n, the mechanism 1 rewrites the pertinent cell of the message management table if the pertinent address exists, and the mechanism 1 registers it in a double use list 8 if it does not exist.
|