Re: sysctl spinning (was: Re: ps Causes Hard Hang)

From: Brian F. Feldman <green_at_freebsd.org>
Date: Thu, 04 Mar 2004 07:21:06 -0500
Bruce Evans <bde_at_zeta.org.au> wrote:
> On Thu, 4 Mar 2004, Don Lewis wrote:
> > There may be cases when it is valid to retry the request.
> >
> > The code that loops on EAGAIN was added in the rev 1.63 of
> > kern_sysctl.c.
> 
> I think EAGAIN was only meant for retrying after transient changes
> to the data.

Do you think you could document and clarify this if you find out for 
certain, especially with regard to EWOULDBLOCK (which should have the same 
intention, or our implementation is broken).

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green_at_FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\
Received on Thu Mar 04 2004 - 03:21:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:46 UTC