From b77d489a08d04efc9660b1caaa3a0db85601a98d Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 19 Nov 1999 21:29:03 +0000 Subject: 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 --- share/man/man9/at_fork.9 | 4 ---- 1 file changed, 4 deletions(-) (limited to 'share/man/man9/at_fork.9') 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 . -- cgit v1.1