Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ qprocson(D3DK) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

qprocson(D3DK)  —  

.IX \f4qprocson\fP(D3DK)
.IX STREAMS message queues
.IX message (STREAMS)

NAME

qprocson − enable put and service routines

SYNOPSIS

#include <sys/stream.h>
void qprocson(queue_t ∗rq);

ARGUMENTS

rqPointer to a read queue. 

DESCRIPTION

qprocson enables the put and service routines of the driver or module whose read queue is pointed to by rq.  Prior to the call to qprocson, the put and service routines of a newly pushed module or newly opened driver are disabled.  For the module, messages flow around it as if it were not present in the stream. 

qprocson must be called by the first open of a module or driver after allocation and initialization of any resources on which the put and service routines depend. 

RETURN VALUE

None. 

LEVEL

Base Level Only. 

NOTES

Does not sleep.  Driver defined basic locks and read/write locks may not be held across calls to this function. Driver defined sleep locks may be held across calls to this function.

SEE ALSO

open(D2DK), put(D2DK), srv(D2DK), qprocsoff(D3DK)

DDI/DKI  —  STREAMS

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026