added uses of queue (#20730)
* added uses of queue * fixed formatting, placement
This commit is contained in:
committed by
Christopher McCormack
parent
64385d2c6e
commit
b3ece51199
@ -16,6 +16,11 @@ The data type you store within a queue goes within angle brackets next to the qu
|
||||
|
||||

|
||||
|
||||
### Uses of Queue
|
||||
- When data is transferred asynchronously between two processes. eg. IO Buffers, pipes,file IO etc.
|
||||
- When a resource is shared among multiple consumers. Examples include CPU scheduling, Disk scheduling.
|
||||
- In print spooling, documents are loaded into a buffer and afterward the printer puls them off the buffer at its own rate.
|
||||
|
||||
### Queue Operations
|
||||
|
||||
The queue container supports the following operations:
|
||||
|
Reference in New Issue
Block a user