From f2d38d3683345a98f118b971b5a1940e14111928 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Thu, 24 Jan 2002 10:46:42 +0000 Subject: [PATCH] solaris-rx-shutdown-sleep-only-if-listener-pid-not-freed-20020124 replace if with while in case the listener is freed before we call sleep --- src/rx/SOLARIS/rx_knet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rx/SOLARIS/rx_knet.c b/src/rx/SOLARIS/rx_knet.c index f09e1c421d..04f8d51325 100644 --- a/src/rx/SOLARIS/rx_knet.c +++ b/src/rx/SOLARIS/rx_knet.c @@ -281,7 +281,7 @@ int osi_FreeSocket(asocket) vnode_t *vp = SOTOV(so); AFS_STATCNT(osi_FreeSocket); - if (rxk_ListenerPid) { + while (rxk_ListenerPid) { kill(rxk_ListenerPid, SIGUSR1); afs_osi_Sleep(&rxk_ListenerPid); }