V
V
Vaalel2016-11-24 20:41:51
Java
Vaalel, 2016-11-24 20:41:51

How to handle a fixed size queue?

We need a working example for the model of servicing one process flow by one CPU with queues of a fixed size (buffer areas), if the queue size exceeds some specified size, then the contents of the queue are processed by the CPU. If the buffer area fills up before the CPU has finished processing the contents of the previous buffer. area, a new buffer will be created. area and so on. It is necessary to determine, for example, max. and the average number of buffers. areas.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question