Description: Smoker problem. Suppose a system has three smoker processes, each smoker and continue to smoke cigarettes. Smoker smoke rolled up and deprived of a need to have three materials: tobacco, paper and glue. A tobacco smoker, a paper, glue another. There are two systems provider processes that unlimited supply of all three materials, but each time only two of the three in turn provided material. Get the missing two materials in roll and deprived smokers smoke after a notice will be sent a signal provider, it continues to provide an additional two materials. This process is repeated.
To Search:
File list (Check if you may need any files):
201300130138 张子诚 实验四
..........................\ipc.c
..........................\ipc.h
..........................\smoker1.c
..........................\smoker2.c
..........................\smoker3.c
..........................\supply.c