summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/clnt_vc.c
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-04-03 22:07:19 +0000
committeriedowse <iedowse@FreeBSD.org>2001-04-03 22:07:19 +0000
commit860771198c0638c98c2c310be1a248d4d65a9dff (patch)
tree7ce160dbcab2dba915bea839be19cce41346dd59 /lib/libc/rpc/clnt_vc.c
parent9bb8706a139dcb39f11af874e974a430884f744a (diff)
downloadFreeBSD-src-860771198c0638c98c2c310be1a248d4d65a9dff.zip
FreeBSD-src-860771198c0638c98c2c310be1a248d4d65a9dff.tar.gz
Remove some hacks that were apparently added to avoid problems with
RPC clients hanging. The real problem turned out to be missing cleanup code; this was fixed in clnt_vc.c r1.5 and clnt_dg.c r1.4. Submitted by: Martin Blapp <mb@imp.ch>
Diffstat (limited to 'lib/libc/rpc/clnt_vc.c')
-rw-r--r--lib/libc/rpc/clnt_vc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/rpc/clnt_vc.c b/lib/libc/rpc/clnt_vc.c
index df0d83c..38c9ceb 100644
--- a/lib/libc/rpc/clnt_vc.c
+++ b/lib/libc/rpc/clnt_vc.c
@@ -132,8 +132,7 @@ extern mutex_t clnt_fd_lock;
static cond_t *vc_cv;
#define release_fd_lock(fd, mask) { \
mutex_lock(&clnt_fd_lock); \
- if (__isthreaded) \
- vc_fd_locks[fd] = 0; \
+ vc_fd_locks[fd] = 0; \
mutex_unlock(&clnt_fd_lock); \
thr_sigsetmask(SIG_SETMASK, &(mask), (sigset_t *) NULL); \
cond_signal(&vc_cv[fd]); \
OpenPOWER on IntegriCloud