Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpl(D3) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       getpl(D3)                                                  getpl(D3)


       NAME
             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.

          Level
             Base or Interrupt.

          Synchronization Considerations
             Does not sleep.

             Driver-defined basic locks, read/write locks, and sleep locks
             may be held across calls to this functions.

       REFERENCES
             ASSERT(D3), LOCK(D3), spl(D3), UNLOCK(D3)

       NOTICES
          Portability
             All processors

          Applicability
             ddi: 5, 5mp, 6, 6mp, 7, 7mp














                           Copyright 1994 Novell, Inc.               Page 1








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