Re: sysctl_proc calls handler twice
From: Pawel Jakub Dawidek (pjd_at_FreeBSD.org)
Date: 08/16/05
- Previous message: Bruce Evans: "Re: sysctl_proc calls handler twice"
- In reply to: Bruce Evans: "Re: sysctl_proc calls handler twice"
- Next in thread: Bruce Evans: "Re: sysctl_proc calls handler twice"
- Reply: Bruce Evans: "Re: sysctl_proc calls handler twice"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 16 Aug 2005 15:33:07 +0200 To: Bruce Evans <bde@zeta.org.au>
On Tue, Aug 16, 2005 at 11:17:21PM +1000, Bruce Evans wrote:
+> No, just don't call it twice like sysctl(8) if you know the size in advance
+> or from a previous call (and know that it won't change or handle the error
+> from it changing...).
Thread's author, as I understand/guess it, represents kernel side.
He doesn't want his handler to be called twice and tools like sysctl(8)
are not able to know size of every sysctl, so he just has to be ready
that his handler will be called twice.
-- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!
- application/pgp-signature attachment: stored
- Previous message: Bruce Evans: "Re: sysctl_proc calls handler twice"
- In reply to: Bruce Evans: "Re: sysctl_proc calls handler twice"
- Next in thread: Bruce Evans: "Re: sysctl_proc calls handler twice"
- Reply: Bruce Evans: "Re: sysctl_proc calls handler twice"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: How to call base buttons onclick event
... the click event in my derived form still seems to be called ... > twice.
... polymorphic reference to the derived handler. ... (microsoft.public.dotnet.framework.windowsforms) - Re: Annoying PeekMessage/OnActivateView problem
... Could you tell me why PeekMessage is such a no-no ... But with the arrow keys
each handler is called twice. ... I just did a little splitter project and
WM_MOUSEACTIVATE is sent even if the ... (microsoft.public.vc.mfc) - Re: button click event being called twice on click
... The handler for the event was probably added twice. ... > I have an
button which calls its Click procedure twice when clicked. ... (microsoft.public.dotnet.framework.aspnet) - Re: [Bug 8473] New: Oops: 0010 [1] SMP
... Make that twice. ... The interesting thing is it was preceded by CD/DVD
... 11:52:36 Unable to handle kernel NULL pointer dereference at ... patches for
bug #8464 + the fedora nouveau patch ... (Linux-Kernel) - Re: [SLE] SUSE Firewall on CD
... but they're still pricing it at about twice what SUSE 10.1 retail goes
... Oops should read 2.4.28 kernel ... (SuSE)