diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-04-03 00:33:55 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-04-03 00:33:55 +0000 |
commit | 5860ba717fe4b0240578887646ba4a8051492afc (patch) | |
tree | 604e2d15169123fe6e11d30fff152230ed892f33 /share | |
parent | d0c0e906ee8fc6b9029b2b4a6ff11f03b60396fd (diff) |
Document pool_destroy. From NetBSD through Kamil Andrusz <wizz@mniam.net>
pr 2507
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/pool.9 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/share/man/man9/pool.9 b/share/man/man9/pool.9 index 24785646a11..69ee2a99d82 100644 --- a/share/man/man9/pool.9 +++ b/share/man/man9/pool.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pool.9,v 1.17 2002/02/25 04:53:16 dhartmei Exp $ +.\" $OpenBSD: pool.9,v 1.18 2002/04/03 00:33:54 art Exp $ .\" $NetBSD: pool.9,v 1.18 2001/06/21 11:59:01 wiz Exp $ .\" .\" Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -60,6 +60,10 @@ .Fa "struct pool_allocator *palloc" .Fc .Ft void +.Fo pool_destroy +.Fa "struct pool *pp" +.Fc +.Ft void .Fo pool_set_drain_hook .Fa "struct pool *pp" .Fa "void (*fun)(void *, int)" @@ -155,6 +159,12 @@ It is recommended to set this to if the pool will never be accessed in interrupt context, since that allocator is much more efficient. .El +.Ss DESTROYING A POOL +The +.Fn pool_destroy +function destroys a resource pool. It takes a single argument +.Fa pp +identifying the pool resource instance. .Ss SETTING DRAIN CALLBACK The .Fn pool_set_drain_hook |