Question: Two workers W1 and W2 working separately need two different tools, say drill and clamp to do some work (say precise drill). In order to

 Two workers W1 and W2 working separately need two different tools,

Two workers W1 and W2 working separately need two different tools, say drill and clamp to do some work (say precise drill). In order to do the job, each worker needs get both tools. However, due to the nature of work, W1 needs to get drill first and clamp second, while W2 needs to get clamp first and drill second. We obviously want to avoid a situation when W1 grabs drill and waits for clamp, while W2 grabs clamp and waits for drill. a.[7] Model the situation described above carefully avoiding deadlock with FSP. b.[7] Model the situation described above carefully avoiding deadlock with Petri nets (any kind)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!