Date: Thu, 19 Aug 1999 12:11:49 -0700 (PDT) From: Julian Elischer <julian@whistle.com> To: Mike Smith <mike@smith.net.au> Cc: current@FreeBSD.ORG Subject: Re: HEADS UP: at_shutdown going away Message-ID: <Pine.BSF.3.95.990819120839.13522B-100000@current1.whistle.com> In-Reply-To: <199908190737.AAA04137@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
there was external code at TRW but I don't know if it is still in use.. We have uses of it here at whistle too. (that's why I wrote it..) but I guess I can handle them... why the change? If you re-aranged the arguments you'd have EVENTHANDLER_REGISTER == at_shutdown_pri. :-) what are the selectabel (available) event queues? On Thu, 19 Aug 1999, Mike Smith wrote: > > That's right, systems will never shut down. 8) > > Seriously though, I'm in the process of replacing a number of the > ad-hoc event handler callout lists in the kernel (most notably the > at_shutdown and apm* lists) with a generic implementation. > > The upshot of this is that at_shutdown will go away. The old calls: > > at_shutdown(func, arg, queue) > at_shutdown_pri(func, arg, queue, priority) > > will be replaced with > > EVENTHANDLER_REGISTER(queue, func, arg, priority) > > Due to the way the event handler works, this means that event handler > functions which were originally > > void func(int howto, void *arg) > > will become > > void func(void *arg, int howto) > > This is unfortunate but more or less unavoidable. > > I will be converting all users of at_shutdown in the kernel to the new > mechanism, but it's of some concern to me that there may be external > code using the old at_shutdown* interfaces that may benefit from a > compatibility interface (which could be done relatively easily). > > Is there significant interest in having this implemented? > > -- > \\ The mind's the standard \\ Mike Smith > \\ of the man. \\ msmith@freebsd.org > \\ -- Joseph Merrick \\ msmith@cdrom.com > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.990819120839.13522B-100000>