STREAMS Programming Guide

Exit Print View

Updated: July 2014
 
 

Design Guidelines

The following are general multiplexer design guidelines:

  • The upper half of the multiplexer acts like the end of the upper stream. The lower half of the multiplexer acts like the head of the lower stream. Service procedures are used for flow control.

  • Message routing is based on multiplexer-specific criteria.

  • When one stream is being fed by many streams, flow control may have to take place. Then all feeding streams on the other end of the multiplexer have to be enabled when the flow control is relieved.

  • When one stream is feeding many streams, flow control may also have to take place. Be careful not to starve other streams when one becomes flow controlled.

  • Upper and lower multiplexers share the same perimeter type and concurrency level. (See MT STREAMS Perimeters for information about perimeters.)