proc_unref(D3) proc_unref(D3)
NAME
proc_unref - release a reference to a process
SYNOPSIS
#include <sys/ddi.h>
void proc_unref(void *pref);
Arguments
pref Identifier obtained by a previous call to
proc_ref(D3).
DESCRIPTION
The proc_unref function can be used to release a reference to
a process identified by the parameter pref.
Return Values
None
USAGE
There must be a matching call to proc_unref for every previous
call to proc_ref(D3).
Processes can exit even though they are referenced by drivers.
In this event, reuse of pref will be deferred until all driver
references are given up.
Level
Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
REFERENCES
proc_ref(D3), proc_signal(D3), proc_valid(D3)
NOTICES
Portability
All processors
Applicability
ddi: 3, 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 1