Question: Information about a machine serving at factory x is as follows: a. The number of machines working in the factory is only 2. b. The
Information about a machine serving at factory x is as follows: a. The number of machines working in the factory is only 2. b. The band capacity is 10 for waiting the materials in the production line. c. Each machine produces only 1 piece at a time. d. Machines produce parts if material is available. After each piece is produced, it is checked whether there is any material waiting in the production line. If there are parts, production is made, otherwise the machine switches itself to stand-by. to. The condition of the machines is checked every time a new material is added to the production line. If the machine is in stand by mode, it is started, and the material is taken directly into production. while the machine is in production, the production line is controlled. If there is room, the material is placed on the production line, otherwise the material is not placed on the production line. f. 2 machines use the 10 chamber production line jointly. that means there is 1 production line, 2 machines are available. code this with c using mutex without any deadlock. draw the flow diagram
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
