STREAMS/UX for the HP 9000 Reference Manual

91
STREAMS/UX Multiprocessor Support
Writing MP Scalable Modules and Drivers
No matter which utility is used to pass messages across the mux, you must make
sure that the queues passed to the utilities are still allocated. You may also want
to check that the driver is still linked under the mux.
Follow the design guidelines in the SVR4.2 STREAMS manual. The guidelines
are located at the end of these chapters: Overview of STREAMS Modules and
Drivers, STREAMS Modules, STREAMS Drivers, and STREAMS
Multiplexing. For STREAMS/UX, you do not need to follow some of these
guidelines. However, if you ignore them, your software will not be portable to
SVR4 STREAMS. For HP-UX STREAMS, you do not need to call qprocson or
qprocsoff as you do for SVR4 MP STREAMS. Also, you can use synchronization
levels to protect module and driver private structures instead of SVR4 MP locks
and synchronization primitives. Lastly, you do not need to use SVR4 MP
canputnext and bcanputnext instead of canput and bcanput on STREAMS/UX.