[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2003/12/30 20:27:23

Modified files:
	include/rpc    : svc.h 
	lib/libc/rpc   : Makefile.inc clnt_tcp.c clnt_udp.c pmap_rmt.c 
	                 rpc.3 rpc_commondata.c svc.c svc_run.c 
	                 svc_tcp.c 

Log message:
Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)
in the libc rpc code.  The main difference between this and the previous
version is the use of a simple free list that simplifies the logic when
adding a socket to svc_pollfd.  I've also added code to pack svc_pollfd
when the free list gets too big.  The idea general idea is to keep
svc_pollfd as tightly packed as possible to make poll(2) efficient.
Tested by many people and OK deraadt@



Visit your host, monkey.org