A producer and a consumer

producer-consumer · compsci · SVG, currentColor

Two figures on either end of a conveyor belt moving boxes, illustrating the classic producer-consumer pattern in computer science. Handy for explaining concurrency, queues, and pipeline processing.

Draw with this icon Download SVG

Tags

producerconsumerconveyor beltconcurrencyqueuethreadspipelinefactorycompscipatternproducer-consumer patternwork queueassembly linemessage queue

Free for commercial use, no attribution — license. Or use it on an infinite canvas.

More compsci

An inode
An inode
An interrupt
An interrupt
An abstract shape
An abstract shape
An acyclic graph
An acyclic graph
An async task
An async task
An atomic increment
An atomic increment
An await point
An await point
A backpressure signal
A backpressure signal
A barrier of threads
A barrier of threads
A batch of work
A batch of work
A block device
A block device
An inode
An inode

All compsci icons →