Basic synchronization, Operating System

(Add synchronization to your solutions to HW 3 to eliminate all of the race conditions.  You should not remove any of the sleep() commands that you used to produce the race conditions, but simply add the necessary mutex synchronization calls.  Your writeup should include high level pseudocode explaining the logic of your synchronization strategy using ordinary semaphores (init, p(), v()); your implementation should use the synchronization primitives of the programming API you are using (Posix & Win32).  Submit design documentation, wellXcommented source code & annotated output for this part of the assignment.

Posted Date: 3/13/2013 4:04:42 AM | Location : United States







Related Discussions:- Basic synchronization, Assignment Help, Ask Question on Basic synchronization, Get Answer, Expert's Help, Basic synchronization Discussions

Write discussion on Basic synchronization
Your posts are moderated
Related Questions
What is degree of multiprogramming ? Degree of multiprogramming signifies the number of processes in memory. If the degree of Multiprogramming is steady after that the average

Explain thread in details

Long term scheduler calculates which processes are admitted to the machine for processing. It accepts the degree of multiprogramming. Once accepted, a job converts a process.

What are the advantages of Linked allocation? The benefits are a. No external fragmentation b. Size of the file does not require to be declared


What is the information associated with an open file? Various pieces of information are associated with  an open file which may be: File pointer Disk location of th

what is secondary storage management

Q. How could a system be designed to allow a choice of operating systems to boot from? What would the bootstrap program need to do? Answer: Delieve a system that would like to

Define Enforcing Modularity for C Additionally, in C it is sometimes necessary to create modularity of design. C++  is very natural model for component based application design

What is dispatch latency? The time taken by the dispatcher to stop one process and begin another running is known as dispatch latency.