CFP last date
20 January 2025
Reseach Article

Implementation and Experimentation of Producer-Consumer Synchronization Problem

by Syed Nasir Mehmood, Nazleeni Haron, Vaqar Akhtar, Younus Javed
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

@article{ 10.5120/1823-2398,
author = { Syed Nasir Mehmood, Nazleeni Haron, Vaqar Akhtar, Younus Javed },
title = { Implementation and Experimentation of Producer-Consumer Synchronization Problem },
journal = { International Journal of Computer Applications },
issue_date = { January 2011 },
volume = { 14 },
number = { 3 },
month = { January },
year = { 2011 },
issn = { 0975-8887 },
pages = { 32-37 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume14/number3/1823-2398/ },
doi = { 10.5120/1823-2398 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-06T20:02:27.172564+05:30
%A Syed Nasir Mehmood
%A Nazleeni Haron
%A Vaqar Akhtar
%A Younus Javed
%T Implementation and Experimentation of Producer-Consumer Synchronization Problem
%J International Journal of Computer Applications
%@ 0975-8887
%V 14
%N 3
%P 32-37
%D 2011
%I Foundation of Computer Science (FCS), NY, USA
Abstract

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.

References
  1. Stefano, A. D., Bello, L. L., Santoro, C.1997. Synchronous Producer-consumer transactions for real-time distributed process control. In Proceedings of the IEEE International Workshop on Factory Communication Systems.
  2. Juiz, C., Puigjaner, R. 1995. Improved performance model of a real-time software element: the producer-consumer. In Proceedings of the Second International Workshop on Real-Time Computing Systems and Applications.
  3. Zhang, Y., Zhang, J., Zhang, D. 2009. Implementing and testing Producer-consumer problem using aspect-oriented programming. In Proceedings of the Fifth International Conference on Information Assurance and Security.
  4. Shen, C. 2000. Discrete-event simulation on the Internet and the web. Future Generation Computer Systems, vol. 17, 187-196.
  5. Hilzer, Jr., R. C. 1992. Synchronization of the Producer/Consumer problem using semaphores, monitors, and the Ada Rendezvous. Operating Systems Review, vol. 26, 31-39.
  6. Robbins, S. 2000. Experimentation with bounded buffer synchronization. In Proceedings of the 31st SIGCSE Technical Symposium on Computer Science Education.
Index Terms

Computer Science
Information Sciences

Keywords

Bounded Buffer Problem Producer Consumer Single Processor Multi- Processor