diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-12-31 03:27:24 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-12-31 03:27:24 +0000 |
commit | 23f499490dbfd44837b6e8444733b39e8577d76f (patch) | |
tree | 36e51f78cf130e80aa8a9bfc92190cd065ce4098 /lib/libc/rpc/Makefile.inc | |
parent | 8d7e31dc1a81c4e63b4f5022186f2a529198c3ac (diff) |
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@
Diffstat (limited to 'lib/libc/rpc/Makefile.inc')
-rw-r--r-- | lib/libc/rpc/Makefile.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/rpc/Makefile.inc b/lib/libc/rpc/Makefile.inc index afcec0471c5..9cdcc5c7845 100644 --- a/lib/libc/rpc/Makefile.inc +++ b/lib/libc/rpc/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.11 2000/12/21 21:11:31 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.12 2003/12/31 03:27:23 millert Exp $ # librpc sources .PATH: ${LIBCSRCDIR}/arch/${MACHINE}/rpc ${LIBCSRCDIR}/rpc @@ -55,8 +55,12 @@ MLINKS+= bindresvport.3 bindresvport_sa.3 \ rpc.3 svc_getargs.3 \ rpc.3 svc_getcaller.3 \ rpc.3 svc_getreq.3 \ + rpc.3 svc_getreq_common.3 \ + rpc.3 svc_getreq_poll.3 \ rpc.3 svc_getreqset.3 \ rpc.3 svc_getreqset2.3 \ + rpc.3 svc_max_pollfd.3 \ + rpc.3 svc_pollfd.3 \ rpc.3 svc_register.3 \ rpc.3 svc_run.3 \ rpc.3 svc_sendreply.3 \ |