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
Explain with an example the need of Shift Alteration in critical section problem? Consider processes P i and P j and consider the algorithm for P i and P j .

Determine a scheduling policy that is most suitable for a time-shared operating system   Round-Robin is a scheduling policy that is most suitable for a time-shared operating s



Do you have writers that can use the software AIMMS version 3.9?

Discuss in detail Table management Techniques?     An Assembler employs the subsequent tables: OPTAB: Operation Code Table consists of mnemonic operation code and its machi

Problem 1. List out the conditions that result in Deadlock situations. Illustrate deadlock situation with a simple graphical notation Listing conditions for deadlock occu

what is the use of valid invalid bits in paging

Briefly discuss on page replacement? Page replacement approach is fixed as follows. If no frame is free, we search one that is not presently being used and free it. We can fre

Give an overview of UNIX based file systems. UNIX and UNIX-like operating systems allocate a device name to each device, other than this isn't how the files on that device are