DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

getpl(D3)


getpl -- get current interrupt priority level

Synopsis

   #include <sys/ddi.h>
   

pl_t getpl(void);

Description

Return values

getpl returns the current interrupt priority level as usable by spl(D3), LOCK(D3), and UNLOCK(D3).

Usage

Typically used with LOCK to lock a lock without changing the interrupt priority level. Also useful in ASSERTs.

Context and synchronization

Non-blockable, interrupt, user, or blockable context.

Hardware applicability

All

Version applicability

ddi: 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp

References

ASSERT(D3), LOCK(D3), spl(D3), UNLOCK(D3)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005