which included commits to RCS files with non-trunk default branches.
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/rx/LINUX/rx_knet.c,v 1.1.1.7 2002/01/22 19:54:25 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/rx/LINUX/rx_knet.c,v 1.1.1.8 2002/01/28 00:30:30 hartmans Exp $");
#ifdef AFS_LINUX22_ENV
#include "../rx/rx_kcommon.h"
extern int (*sys_killp)();
extern int rxk_ListenerPid;
- if (rxk_ListenerPid) {
+ while (rxk_ListenerPid) {
(void) (*sys_killp)(rxk_ListenerPid, 9);
-#ifdef AFS_LINUX24_ENV
- afs_osi_Sleep(&rxk_ListenerPid); /* get an event */
- afs_osi_Sleep(&rxk_ListenerPid); /* actually sleep */
-#else
- rxk_ListenerPid = 0;
-#endif
+ afs_osi_Sleep(&rxk_ListenerPid);
}
sock_release(rx_socket);
rx_socket = NULL;
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/rx/SOLARIS/rx_knet.c,v 1.1.1.7 2001/10/14 18:06:27 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/rx/SOLARIS/rx_knet.c,v 1.1.1.8 2002/01/28 00:30:31 hartmans Exp $");
#ifdef AFS_SUN5_ENV
#include "../rx/rx_kcommon.h"
vnode_t *vp = SOTOV(so);
AFS_STATCNT(osi_FreeSocket);
- if (rxk_ListenerPid)
+ while (rxk_ListenerPid) {
kill(rxk_ListenerPid, SIGUSR1);
+ afs_osi_Sleep(&rxk_ListenerPid);
+ }
return 0;
}
TIUSER *udp_tiptr = (TIUSER *) asocket;
AFS_STATCNT(osi_FreeSocket);
- if (rxk_ListenerPid)
+ if (rxk_ListenerPid) {
kill(rxk_ListenerPid, SIGUSR1);
+ afs_osi_Sleep(&rxk_ListenerPid);
+ }
return 0;
}
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/rx/rx_kcommon.c,v 1.1.1.9 2001/10/14 18:06:21 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/rx/rx_kcommon.c,v 1.1.1.10 2002/01/28 00:30:24 hartmans Exp $");
#include "../rx/rx_kcommon.h"
afs_osi_Wakeup(&afs_termState);
}
rxk_ListenerPid = 0;
-#ifdef AFS_LINUX24_ENV
+#if defined(AFS_LINUX22_ENV) || defined(AFS_SUN5_ENV)
afs_osi_Wakeup(&rxk_ListenerPid);
#endif
#ifdef AFS_SUN5_ENV