STREAMS/UX for the HP 9000 Reference Manual

9
Queue Structure 59
STREAMS/UX Data Structure Restrictions 60
STREAMS/UX Uniprocessor Synchronization 61
STREAMS/UX Internal Synchronization 61
Driver and Module Synchronization 63
Multiple Processes Accessing the Same Stream 64
The STREAMS/UX Scheduler 64
HP-UX Changes to Cloning 65
STREAMS/UX Hardware Driver Writing 68
STREAMS/UX Multiprocessor Support 69
Running Modules and Drivers in Uniprocessor Emulation Mode 71
How STREAMS/UX Executes UP Emulation Modules and Drivers 71
Configuring Modules and Drivers for UP Emulation 72
Mixing MP Scalable and UP Emulation Modules and Drivers 74
Performance 76
Guidelines for UP Emulation Modules and Drivers 76
Writing MP Scalable Modules and Drivers 78
Overview of STREAMS/UX MP Support 78
Suggestions for Designing MP Scalable Modules and Drivers 81
Configuring MP Scalable Modules and Drivers 82
MP Scalable Module and Driver Configuration 82
Master File $DEVICE Table Configuration 83
Module and Driver Install Function Configuration 83
Configuring the NSTRSCHED Tunable 87
Guidelines for MP Scalable Modules and Drivers 87
Porting SVR4 MP Modules and Drivers to HP-UX 92
Differences between SVR4 and HP-UX MP STREAMS 92
Strategies for Porting SVR4 MP Modules and Drivers to HP-UX 93
MP Synchronization Levels on a Uniprocessor 94
How to Compile and Link STREAMS/UX Drivers, Modules, and Applications 103
Compiling STREAMS/UX Drivers and Modules 105
Linking STREAMS/UX Drivers and Modules into the Kernel 107
Adding Driver Header and Driver Install Routine 107
Modifying Your Master File 112
Dynamically-Assigned Major Numbers and lsdev(1) 114
Compiling and Linking STREAMS/UX Applications 115