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
Write in brief on UNIX file structure. UNIX considers every file to be a sequence of 8-bit bytes no interpretation of these bits is made by the operating system. This system pr

When the Page fault frequency in an operating system is reduced Locality of reference is appropriate to the process

Problem: Managing Outside Communication. a. What is the principal action we use when communicating through a web browser? b. Give an example of how to preaddress an email

This assignment is based on Programming Project 6.40 in Silbershatz. Implement the ProducerXConsumer program according to the instructions for Project 6.40 for both Linux and Win32

Define Instance. An instance is an administrative unit in which components of R/3 systems giving one or more services are grouped together.  The services offered by a case are

What are the different accessing methods of a file? The different types of accessing a file are: Sequential access: Information in the file is accessed sequentially

Define the “Throughput” of a system  Throughput is Number of programs processed by it per unit time

What are the different files attributes? File name:-it's the name of the file. It's the name with which the user identifies. Identifiers:-it's created when a file is created

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 thrashing? It is a method in virtual memory schemes when the processor spends most of its time swapping pages, rather than implementing instructions. This is because o