Posts

CS3530 Assignment 5

Kennesaw State University    Department of Computer Science Operating Systems CS3530/01 Assignment # 5 / Deadlock Dalibor Labudovic 07/09/12013 Initial Problem Statement: Study of Deadlocks with the Five Philosophers Problem. This assignment involves observation of general behavior of a system with deadlock situations and solutions. Computation of some relevant performance metrics.  There are three models implemented in C++ using Psim3 package:  "philos.cpp", "philoshw.cpp", and "philoscw.cpp". The first model always deadlocks. The second model applies the dis-allowance of the hold and wait condition as a solution to deadlock. The third model applies dis-allowance of the circular wait condition as a solution to deadlock. Copy the model source C++ files from the system directory on the CS3 server, then compile, and link to create the executable program.  Run the program at least three times. Change the average parameter for the eating and thinking periods, ...

CS 3530 Quiz 4

Kennesaw State University Department of Computer Science Operating Systems CS3530/01 Quiz # 4 / Synchronization & Threads Dalibor Labudovic 06/30/12013 Initial Problem Statement: Carry out a research on threads using the Java programming language. Develop a simplified version of the producer-consumer synchronization problem in Java. Test your results and include a report (similar to the assignments). Summary and purpose of the assignment activity: The purpose of this assignment is to research the topic of threads and producer-consumer synchronization in order to develop a working Java sample program. From better understanding of the thread theory, as programmers we are able to utilize better programing ethics. With better programming understanding and ethics, our programs will be more reliable and stable. Detail description of the solution and used in the project: Description: In this Java program, the...