define Interprocess Communication and its race condition?, Basic Computer Science

In view of the fact that processes frequently need to communicate with other processes therefore, there is require for a well-structured interaction, devoid of using interrupts, among processes.

Race Conditions occurs
In operating systems, processes that are working in concert share some common storage (main memory, file etc.) that every process can read and write. When two or more processes are reading or writing some common data and the final result depends on who runs accurately when, are called race conditions. At the same time as executing threads that share data need to synchronize their operations and processing with the intention of avoid race condition on shared data. Only one ‘customer’ thread at a time should be permitted to examine and update the shared changeable.
Race conditions are also achievable in Operating Systems. If the ready queue is implemented as a linked list and if the ready queue is being manipulated during the treatment of an interrupt, then interrupts must be disabled to prevent a different interrupt before the first one completes. If interrupts are not immobilized than the linked list could become corrupt.
Posted Date: 5/2/2012 9:00:25 AM | Location : United States







Related Discussions:- define Interprocess Communication and its race condition?, Assignment Help, Ask Question on define Interprocess Communication and its race condition?, Get Answer, Expert's Help, define Interprocess Communication and its race condition? Discussions

Write discussion on define Interprocess Communication and its race condition?
Your posts are moderated
Related Questions
What is the difference between information technology and information systems? Describe some of the fuctions of information systems

WAP TO ACCEPT MARKS OF THREE SUBJECT FOR STUDENT & CALCULATE TOTAL MARKS AND PERCENTAGE

Another way of classifying a computer system is based upon its size and capabilities: Microcomputers: Microcomputers are systems based on the use of microprocessors. A Micr

explain CAI pitfalls

Process of Data mining Data mining is an iterative process that typically involves the following phases: Problem definition A data mining project starts with the understanding o


Debugging Once a program has been written, it has to be tested first to ensure that it is free of errors. It is very normal that any program written will contain mistake

Department (DeptNo, DeptName, Office, Phone) Employee (EmpNo, FirstName, LastName, JobTitle, HireDate, Salary, MgrNo, Deptno) Customer (CustNo, CompanyName, Street, City, State, Zi

158.254 Software Development Lifecycle Management Assignment 1 This assignment focuses on requirements engineering. The context to this assignment is the development of a system

1. The process abstraction is a popular way to organize concurrent programs, but it is not the only choice. An alternative to the process abstraction is to design a single-threaded