proc_unref(D3)proc_unref(D3)NAMEproc_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.
REFERENCESproc_ref(D3), proc_signal(D3)
Page 1