Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
   
 

STREAMS Programming Guide

 
 
 
Copyright
  Preface
  Part I Application Programming Interface
  1.  Overview of STREAMS
  2.  STREAMS Application-Level Components
  3.  STREAMS Application-Level Mechanisms
  4.  Application Access to the STREAMS Driver and Module Interfaces
  5.  STREAMS Administration
  6.  Pipes and Queues
Overview of Pipes and FIFOs
Creating and Opening Pipes and FIFOs
Using Pipes and FIFOs
Flushing Pipes and FIFOs
Named Streams
Unique Connections
  Part II Kernel Interface
  7.  STREAMS Framework - Kernel Level
  8.  STREAMS Kernel-Level Mechanisms
  9.  STREAMS Drivers
  10.  STREAMS Modules
  11.  Configuring STREAMS Drivers and Modules
  12.  Multithreaded STREAMS
Multithreaded (MT) STREAMS Overview
MT STREAMS Framework
STREAMS Framework Integrity
Message Ordering
MT STREAMS Perimeters
Inner Perimeters
Outer Perimeters
PERMOD Perimeter
Hot Perimeters
Defining Perimeter Types
Choosing a Perimeter Type
MT SAFE Modules and Drivers
MT SAFE Module
MT SAFE Driver
Routines Used Inside a Perimeter
qprocson/qprocsoff
qtimeout/qunbufcall
qwriter
qwait
Asynchronous Callback Functions
close() Race Conditions
Unloading a Module that Uses esballoc
Use of the q_next Field
MT SAFE Modules Using Explicit Locks
Constraints When Using Locks
Preserving Message Ordering
Preparing to Port
Porting to the SunOS 5 System
Sample Multithreaded Device Driver Using a Per Module Inner Perimeter
Sample Multithreaded Module With Outer Perimeter
  13.  STREAMS Multiplex Drivers
  Part III Advanced Topics
  14.  Debugging STREAMS-based Applications
  Part IV Appendixes
  A.  Message Types
  B.  Kernel Utility Interface Summary
  C.  STREAMS-Based Terminal Subsystem
  D.  STREAMS FAQ
  Glossary
  Index