Go to main content

STREAMS Programming Guide

Exit Print View

Updated: March 2019
 
 

Queue Allocation

STREAMS queues are allocated in pairs. One queue is always the upstream or read-side; the other is the downstream or write-side. These queues hold the messages, and tell the kernel which processing routines apply to each message passing through a module. The queue structure type is queue_t. For more information about the fields in the queue data structure, see the queue(9S) man page.