Subject: CVS commit: src/usr.sbin/inetd
To: None <source-changes@netbsd.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 02/13/2003 13:47:28
Module Name: src
Committed By: tron
Date: Thu Feb 13 11:47:28 UTC 2003
Modified Files:
src/usr.sbin/inetd: inetd.c
Log Message:
Improve kqueue(2) utilization:
- Don't invoke kevent(2) for every single event change. Instead collect
event changes and try to do them in the event loop.
- Handle signals via kevent(2) to avoid race conditions for SIGHUP (which
probably exist in the select(2) based implementation, too).
To generate a diff of this commit:
cvs rdiff -r1.86 -r1.87 src/usr.sbin/inetd/inetd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.