diff options
author | phk <phk@FreeBSD.org> | 1999-11-19 21:29:03 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-11-19 21:29:03 +0000 |
commit | b77d489a08d04efc9660b1caaa3a0db85601a98d (patch) | |
tree | 71b4b3a9700f7d0066e9f187937e6a486e88709a /share/man | |
parent | 0c40ec2d4cd03de7e036ebb4816388fdcadc265a (diff) | |
download | FreeBSD-src-b77d489a08d04efc9660b1caaa3a0db85601a98d.zip FreeBSD-src-b77d489a08d04efc9660b1caaa3a0db85601a98d.tar.gz |
The at_exit and at_fork functions currently use a 'roll your own'
linked list to store the callbak routines. The patch converts the
lists to queue(3) TAILQs, making the code slightly clearer and ensuring
that callbacks are executed in FIFO order.
Man page also updated as necesary.
(discontinued use of M_TEMP malloc type while here anyway /phk)
Submitted by: Jake Burkholder jake@checker.org
PR: 14912
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/at_exit.9 | 4 | ||||
-rw-r--r-- | share/man/man9/at_fork.9 | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/share/man/man9/at_exit.9 b/share/man/man9/at_exit.9 index 352e6b2..234ef45 100644 --- a/share/man/man9/at_exit.9 +++ b/share/man/man9/at_exit.9 @@ -70,10 +70,6 @@ The .Fn at_exit function appeared in .Fx 2.2 . -.Sh BUGS -Since the exit queue is not sorted -and items are added to the head, order of execution -is reversed to that of insertion. .Sh AUTHORS The function was written by .An Julian Elischer Aq julian@FreeBSD.org . diff --git a/share/man/man9/at_fork.9 b/share/man/man9/at_fork.9 index 369bc54..f9ea282 100644 --- a/share/man/man9/at_fork.9 +++ b/share/man/man9/at_fork.9 @@ -72,10 +72,6 @@ The .Fn at_fork function appeared in .Fx 2.2 . -.Sh BUGS -Since the fork queue is not sorted -and items are added to the head, order of execution -is reversed to that of insertion. .Sh AUTHORS The function was written by .An Julian Elischer Aq julian@FreeBSD.org . |