Q.57. 2 resources can be given to each of 5 processes, then we are left with 2 resources which can be distributed to any of the processes and the system will be deadlock free. Therefore n = 5. Correct me if I am wrong.
Question 1. A classical programming problem is called producers and consumers. A data area shared between several processes, some processes, the producers write to the area: the others, the consumers only read the data. Any number of the consumers can simultaneously read the data, but only one producer can write to the data at a time. Also no consumers are allowed while a producer is executing (i) Devise a suitable Semaphores for this situation (ii) Design an outline of the producers and consumers processes (Hint: when one consumer process has began reading, any number more can start reading; use a counter to record the number of consumers. Note that you need a Semaphore for the counter) Mam, my question involve diagram, how can I share. I will be very grateful if you could help. I'm really preparing for an exam. Thanks in anticipation.
Super explanations mam.. all understood mam.. thank u so much mam..
Thank you soo much
very much clear about deadlock mam.
Thank you mam for this session mam.
keep going mam....👌👍
good evening ma'am
Useful video mam thank you mam
i am from telangana mam.......tq so much
It's very easy mam... Thank you mam
Wonderful mam... Thank you
Es video ka Hindi me explain kar dijiyega mam.
Ma'am what is streaming time?
Q.57. 2 resources can be given to each of 5 processes, then we are left with 2 resources which can be distributed to any of the processes and the system will be deadlock free. Therefore n = 5.
Correct me if I am wrong.
Mam, I have question to ask from you
Tell me
Question 1.
A classical programming problem is called producers and consumers. A data area shared between several processes, some processes, the producers write to the area: the others, the consumers only read the data. Any number of the consumers can simultaneously read the data, but only one producer can write to the data at a time. Also no consumers are allowed while a producer is executing
(i) Devise a suitable Semaphores for this situation
(ii) Design an outline of the producers and consumers processes
(Hint: when one consumer process has began reading, any number more can start reading; use a counter to record the number of consumers. Note that you need a Semaphore for the counter)
Mam, my question involve diagram, how can I share.
I will be very grateful if you could help. I'm really preparing for an exam.
Thanks in anticipation.