Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 1998 06:32:25 -0700
From:      Don Lewis <Don.Lewis@tsc.tdk.com>
To:        Graham Wheeler <gram@cdsec.com>, Don.Lewis@tsc.tdk.com (Don Lewis)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: The inetd realloc problem: an observation
Message-ID:  <199809221332.GAA17456@salsa.gv.tsc.tdk.com>
In-Reply-To: Graham Wheeler <gram@cdsec.com> "Re: The inetd realloc problem: an observation" (Sep 22,  3:27pm)

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 22,  3:27pm, Graham Wheeler wrote:
} Subject: Re: The inetd realloc problem: an observation

} I've just changed the source so that all three signal handlers just set
} flags, and the flags are tested at the start of the main processing loop
} and the old handlers called if necessary. It will be interesting to see
} if this improves things.

You'll probably want to set a reasonable timeout on select() so that you
don't wait forever if a signal happens when you're not in select() and
no inputs arrive to activate select.  Also, if select() returns -1,
the code should examine the flags before returning to the top of the loop.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809221332.GAA17456>