International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 14 - Number 3 |
Year of Publication: 2011 |
Authors: Syed Nasir Mehmood, Nazleeni Haron, Vaqar Akhtar, Younus Javed |
10.5120/1823-2398 |
Syed Nasir Mehmood, Nazleeni Haron, Vaqar Akhtar, Younus Javed . Implementation and Experimentation of Producer-Consumer Synchronization Problem. International Journal of Computer Applications. 14, 3 ( January 2011), 32-37. DOI=10.5120/1823-2398
This paper presents the design and implementation of a simulator that allows user to study producer-consumer synchronization problem in three different contexts: simple producer-consumer problem, producer-consumer problem in a single processor system and producer-consumer problem in multi-processing system. The main contribution of our work is the facility to run the simulation in a multi-processors environment. This has been deemed appropriate since most of the current applications are distributed in nature and run in multi-processing environment. Additionally, the features offered by the simulator enables user to analyze and evaluate various synchronization problems in a repeatable and controllable environment. The experimental results are presented to show the viability of our proposed simulator.