SCO OpenServer 5
MPSTR_STPLOCK, MPSTR_STPRELE --
lock Stream head in multithreaded code
Synopsis (Not in DDI)
MPSTR_STPLOCK(struct stdata *stp);
/* critical code section that accesses Stream head */
MPSTR_STPRELE(struct stdata *stp, int s);
macros provide locks for critical code sections
that access a Stream head.
the Stream head to be locked.
level, returned by the
function, to be restored by the
If the value of s is set to -1, then
does not restore the spl value;
the driver must restore the spl value
after the call to
Context and synchronization
3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp
Differences between versions
``ODDI driver interface version for SCO OpenServer 5'' in HDK Technical Reference
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005