FreeBSD/sys/rpc/clnt_vc.c
/*
 * Wait for all upcalls in progress to complete.
 */
Wait for all upcalls in progress to complete.
Wait for all upcalls in progress to complete .
static void
clnt_vc_upcallsdone(struct ct_data *ct)
{
	SOCKBUF_LOCK_ASSERT(&ct->ct_socket->so_rcv);
	while (ct->ct_upcallrefs > 0)
		(void) msleep(&ct->ct_upcallrefs,
		    SOCKBUF_MTX(&ct->ct_socket->so_rcv), 0, "rpcvcup", 0);
}
static void clnt_vc_upcallsdone ( struct ct_data * ct ) { SOCKBUF_LOCK_ASSERT ( & ct -> ct_socket -> so_rcv ) ; while ( ct -> ct_upcallrefs > 0 ) ( void ) msleep ( & ct -> ct_upcallrefs , SOCKBUF_MTX ( & ct -> ct_socket -> so_rcv ) , 0 , " " , 0 ) ; }
Wait for all upcalls in progress to complete.
Wait for all upcalls in progress to complete .