Description: (1) the operating system to allow concurrent multiple processes simultaneously, and the process of shared resources, there is mutually exclusive or collaborative relationship. One producer process produces information resources, the process can be calculated. Consumers to process the use of information, which can be output printing process, for the process of mutual exclusion buffer producers and consumers to use, and secondly, consumers depend on producers in the process of the resource, if not met, then the producer must wait for the signal wake-up
(2) This program runs the buffer zone must be set to the number of analog systems, as well as the number of system processes, for each program, you must also set its properties, that is, the producer or consumer, from the simple figures 1 and 2, said. For the buffer settings and the process of setting the number and the property can simulate mutually exclusive needs and contributions, very convenient.
(3) The operation process, in acc
To Search:
File list (Check if you may need any files):
Producers.cpp