Process synchronization-oocomputerworld Process synchronization:- Process synchronization is the task coordinating the execution of process in a way that no two process can have excess to the same shared data and resources it is specially needed in multi process system when multiple process are running together and more than one process try to gain access to the same shared resources or data at the same time this can lead to inconsistency of shared data, So the changes made by one process note necessary reflected when other processes access the same shared data. To avoid the this type of inconsistency of data, the process need to be synchronize with each other. When two or more process operated with each other, their order of execution must be preserved otherwise there can be conflicts in their execution and in appropriate output can be produced. A Co-operative process is the one other one which can affect the execution of other process or can be affected by execution of ...
Single partition allocation, Multiple-partition allocation and Fixed Equal-size partitions in operating system-computer world
Single partition allocation, Multiple-partition allocation and Fixed Equal-size partitions in operating system Single partition allocation In this scheme operating system is residing in law memory and user process are executing in higher memory. Advantages It is simple It is easy to understand and use Disadvantages User job is limited to the size of available memory. It leads to poor Utilization of processor and memory. Multiple-partition allocation It is the simplest method for allocating memory is divided memory into several fixed size partitions. Fixed Equal-size partitions It divides the main memory Into equal number of fixed sized partitions, operating system occupies some fixed portion and remaining portion of main memory is available for user processes. Advantages It supports multi programming. A process whose size is less then or equal to the partitions size can be loaded into any available partition. Disadvantages If a program is big to fit in...