subject
Computers and Technology, 06.06.2020 15:58 kev71

When the time to produce a data item, P, is equal to the time to consume the data item, C, then buffer swapping with 2 buffers keeps both the consumer and the producer busy at all times. The numbers in the diagram indicate which buffer is being used. Producer 1 2 1 2 1 2Consumer 1 2 1 2 1 (a) If the time to consume is longer than the time to produce, then multiple concurrent consumers can be used to keep the producer busy at all times. Determine the number of concurrent consumers and the number of buffers needed when C = 2P and show the corresponding timing diagram. (b) Determine the number of consumers necessary to keep the producer busy for the general case when C is a multiple of P. (c) Determine the number of consumers necessary to keep the producer busy when C is less than P.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 04:31, mona92
Which of the following is not a way in which trees benefit the environment? a. they remove a significant amount of carbon dioxide from the atmosphere. b. they remove a significant amount of oxygen from the atmosphere. c. their roots hold soil in place, reducing rates of erosion. d. they remove ozone and particulates from the atmosphere. select the best answer from the choices provided a b c d
Answers: 1
image
Computers and Technology, 23.06.2019 06:00, sebcbal
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
image
Computers and Technology, 24.06.2019 00:30, lovemusic4
Setting up a home network using wireless connections is creating a a. vpn b. lan c. wan d. mini-internet
Answers: 2
image
Computers and Technology, 24.06.2019 04:10, kris1920
Write a program that reads a set of floating-point values. ask the user to enter the values, then print • the average of the values. • the smallest of the values. • the largest of the values. • the range, that is the difference between the smallest and largest. of course, you may only prompt for the values once.
Answers: 3
You know the right answer?
When the time to produce a data item, P, is equal to the time to consume the data item, C, then buff...

Questions in other subjects:

Konu
Mathematics, 16.10.2020 18:01
Konu
English, 16.10.2020 18:01