add note about how listeners should not sleep.
This commit is contained in:
parent
cb6bd87d8a
commit
5fed711bc8
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: kauth.9,v 1.8 2006/07/17 17:17:58 elad Exp $
|
||||
.\" $NetBSD: kauth.9,v 1.9 2006/07/20 18:40:28 elad Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2005, 2006 Elad Efrat <elad@NetBSD.org>
|
||||
.\" All rights reserved.
|
||||
|
@ -28,7 +28,7 @@
|
|||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd July 17, 2006
|
||||
.Dd July 20, 2006
|
||||
.Dt KAUTH 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -548,6 +548,9 @@ the future.
|
|||
Then, the code should wait (possibly sleeping) until the reference count
|
||||
drops to zero.
|
||||
When that happens, it is safe to do the final cleanup.
|
||||
.Pp
|
||||
Listeners, especially ones that are to be attached to any of the built-in
|
||||
scopes, cannot sleep.
|
||||
.\".Sh EXAMPLES
|
||||
.\" .Sh SEE ALSO
|
||||
.Sh HISTORY
|
||||
|
|
Loading…
Reference in New Issue