[Solved] COMP2560 Assignment4

$25

File Name: COMP2560_Assignment4.zip
File Size: 188.4 KB

SKU: [Solved] COMP2560 Assignment4 Category: Tag:
5/5 - (1 vote)

Rewrite your solution to Assignment 2 with changed requirements on parallel execution.

Requirement from previous assignment:

  • The parent process waits for the child process to terminate before creating the next.

Replacement:

  • The parent process will not wait for the child process to terminate before creating the next process.
  • The processes will do the calculation in parallel. Add some sleep time to simulate larger calculation.
  • The processes will write the data into the image file sequentially. This is coordinated by the parent using signals.
  • You can only use signal for inter-process communication.

Marking Scheme:

0.5 logically clear

0.5 follow all instructions and correctly use signals

0.5 successfully compile

0.5 pass all tests

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] COMP2560 Assignment4
$25