freebsd-skq/lib/libc/yp
Bill Paul a169c9b1f9 NIS client-side performance tweak:
Each of the ypclnt functions does a _yp_dobind() when it starts and then
a _yp_unbind() when it finishes. This is not strictly necessary and it
wastes cycles: it means we do a new clnt_create() and clnt_destroy()
for each yp_whatever() call. In fact, you can do multiple clnt_call()s
using a single RPC client handle returned by clnt_create(). Ideally we only
have to create a handle to ypserv once (the first time we call a ypclnt
function) and then destroy it and rebind only if a call to ypserv fails.

- Modify _yp_dobind() so that it only creates a new RPC client handle
  when establishing a new binding or when one of the ypclnt calls
  invalidates an existing binding and calls _yp_dobind() to establish
  a new one.

- Modify the various ypclnt functions to only call _yp_unbind() if a
  call to ypserv fails.
1996-05-02 15:44:53 +00:00
..
Makefile.inc Now that rpcgen is squared away, arrange to have all the NIS XDR routines 1995-12-14 05:16:45 +00:00
xdryp.c Make sure xdr_ypresp_all_seq() always returns a sane 'status' value. 1996-02-04 05:05:43 +00:00
yplib.c NIS client-side performance tweak: 1996-05-02 15:44:53 +00:00