PURPOSE:To obtain a shared memory area managing mechanism which automatically performs the acquiring processing and releasing processing of a shared memory area without making a user program using such processing be conscious. CONSTITUTION:A memory area securing means 3 makes a first user decision means 5 check whether or not the user is the first user of the shared memory area 2-1 based on a memory managing table 4 replying to the use request of the shared memory area 2-1 from the user program 1-1, and returns the address of a newly secured shared memory area 2-1 when the user is the first user. and the address of a secured shared memory area 2-1 when it is not to a request origin, and also, the memory managing table 4 is updated. A memory area releasing means 6 makes a final user decision means 7 check whether or not the user is a final user based on the memory managing table 4 replying to the use completion information of the shared memory area 2-1 from the user program 1-1, and releases the shared memory area 2-1 when the user is the final user, and performs no releasing processing when it is not, and updates the content of the memory managing table 4.
展开▼