Docsity

Project on Process Synchronization - Applied Software Design | ECE 3574, Study Guides, Projects, Research of Software Engineering

Toggle sidebar
bg1
ECE 3574: Applied Software Engineering Fall 2007 Project 2
Virginia Tech
Bradley Department of Electrical and Computer Engineering
ECE 3574: Applied Software Engineering
Fall 2007
Project 2
1. Project Learning Objectives
The learning objectives of this project include understanding synchronization between
concurrent abstractions (e.g., processes, threads), obtain a fundamental understanding of
the problem of race conditions and the critical section problem, and understand their
solutions including how to ensure consistency of shared data. The project objective is to
accomplish these learning objectives in the context of the classical, bounded-buffer
producer/consumer problem. Other objectives include learning POSIX synchronization APIs
such as that for accessing POSIX mutexes and semaphores.
2. Project Specification
The specification of the project is available in the Exercises section of Chapter 6, “Process
Synchronization,” Operating System Concepts, Silberschatz, Galvin, Gagne, 7th Ed. The
section is titled “Project: Produce-Consumer Problem.” The online version of the book can
be accessed through the URL in Blackboard (see folder of “Lecture 6: Concurrency and
Synchronization”). Your program must be well documented for clarity.
3. Submission
Submit your source files and makefile as a zip/tar file using the “Digital Drop box” at the
class web site. The following information must be included at the top of your source files as
a header: your full name, your student ID number, your email address, class (ECE 3574),
title of the assignment (Project 2), and date of submission. The zip/tar file must be given a
name of the following form: LAST_FIRST_p2.zip (or LAST_FIRST_p2.tar) where LAST is
your last or family name and FIRST is your first or given name.
4. Project Forum
Use the Project 2 forum in the Discussion Board area of the class website to ask questions
about the project. Do not post questions that contain specific information about the solution.
5. Honor Code
You must work alone for this project. As stated in the syllabus, in working on projects,
discussion and cooperative learning are allowed. However, copying or otherwise using
another person’s detailed solutions to assigned projects is an honor code violation. See the
syllabus for details of the honor code policy.

Partial preview of the text

Download Project on Process Synchronization - Applied Software Design | ECE 3574 and more Study Guides, Projects, Research Software Engineering in PDF only on Docsity!

ECE 3574: Applied Software Engineering  Fall 2007 Project 2

Virginia Tech Bradley Department of Electrical and Computer Engineering ECE 3574: Applied Software Engineering  Fall 2007

Project 2

1. Project Learning Objectives

The learning objectives of this project include understanding synchronization between concurrent abstractions (e.g., processes, threads), obtain a fundamental understanding of the problem of race conditions and the critical section problem, and understand their solutions including how to ensure consistency of shared data. The project objective is to accomplish these learning objectives in the context of the classical, bounded-buffer producer/consumer problem. Other objectives include learning POSIX synchronization APIs such as that for accessing POSIX mutexes and semaphores.

2. Project Specification

The specification of the project is available in the Exercises section of Chapter 6, “Process Synchronization,” Operating System Concepts, Silberschatz, Galvin, Gagne, 7 th^ Ed. The section is titled “Project: Produce-Consumer Problem.” The online version of the book can be accessed through the URL in Blackboard (see folder of “Lecture 6: Concurrency and Synchronization”). Your program must be well documented for clarity.

3. Submission

Submit your source files and makefile as a zip/tar file using the “Digital Drop box” at the class web site. The following information must be included at the top of your source files as a header: your full name, your student ID number, your email address, class (ECE 3574), title of the assignment (Project 2), and date of submission. The zip/tar file must be given a name of the following form: LAST _ FIRST _p2.zip (or LAST _ FIRST _p2.tar) where LAST is your last or family name and FIRST is your first or given name.

4. Project Forum

Use the Project 2 forum in the Discussion Board area of the class website to ask questions about the project. Do not post questions that contain specific information about the solution.

5. Honor Code

You must work alone for this project. As stated in the syllabus, in working on projects, discussion and cooperative learning are allowed. However, copying or otherwise using another person’s detailed solutions to assigned projects is an honor code violation. See the syllabus for details of the honor code policy.