Method for Ensuring the Integrity of Storage Segments Shared by Multiple Tasks
Original Publication Date: 1980-Jun-01
Included in the Prior Art Database: 2005-Feb-13
In a typical multi-tasking environment, several storage devices (such as C:CD (charge-coupled device) and bubble memories) may be available for general use as scratch-pad memories. These devices usually offer segmented storage, and the operating system provides an allocation/ deallocation routine which handles requests from tasks in the system for one or more of the segments. Reading from and writing into the segments are usually done by invoking an I/O routine also provided by the operating system. It is possible (especially when a piece of code is being debugged) for a task to successfully obtain a segment from the allocator and then proceed to read from or write into another segment (due to program error). Such an error, if undetected, can propagate and cause other tasks to malfunction as well.