[SOLVED] Assignment 4 EEL4732/5733 Advanced Systems Programming 

35.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

In this assignment, you are going to implement the Combiner program (from Assignment 1&2) using multiple processes. As in Assignment 1&2, you will be using shared memory and synchronization primitives (mutexes, condition variables, or semaphores) . However, in this assignment you need to use the mmap system call to set up the shared region. We require that you use anonymous mapping (no backing file). Also, you need to initialize the synchronization primitives to be process shared. The command line parameters and the expected output will be the same as in Assignment 2. Your solution must be free of data races and deadlocks.

Please submit your solution including a Readme and a Makefile on CANVAS by the due date.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.