clnt_vc.c (29363fb446372cb3f10bc98664e9767c53fbb457) clnt_vc.c (f79a8585bb06a4fabe0aa2458586dc480693ea0c)
1/* $NetBSD: clnt_vc.c,v 1.4 2000/07/14 08:40:42 fvdl Exp $ */
2
3/*-
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 * Copyright (c) 2009, Sun Microsystems, Inc.
7 * All rights reserved.
8 *

--- 139 unchanged lines hidden (view full) ---

148
149 mtx_init(&ct->ct_lock, "ct->ct_lock", NULL, MTX_DEF);
150 ct->ct_threads = 0;
151 ct->ct_closing = FALSE;
152 ct->ct_closed = FALSE;
153 ct->ct_upcallrefs = 0;
154 ct->ct_rcvstate = RPCRCVSTATE_NORMAL;
155
1/* $NetBSD: clnt_vc.c,v 1.4 2000/07/14 08:40:42 fvdl Exp $ */
2
3/*-
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 * Copyright (c) 2009, Sun Microsystems, Inc.
7 * All rights reserved.
8 *

--- 139 unchanged lines hidden (view full) ---

148
149 mtx_init(&ct->ct_lock, "ct->ct_lock", NULL, MTX_DEF);
150 ct->ct_threads = 0;
151 ct->ct_closing = FALSE;
152 ct->ct_closed = FALSE;
153 ct->ct_upcallrefs = 0;
154 ct->ct_rcvstate = RPCRCVSTATE_NORMAL;
155
156 if ((so->so_state & (SS_ISCONNECTED|SS_ISCONFIRMING)) == 0) {
156 if ((so->so_state & SS_ISCONNECTED) == 0) {
157 error = soconnect(so, raddr, curthread);
158 SOCK_LOCK(so);
159 interrupted = 0;
160 sleep_flag = PSOCK;
161 if (intrflag != 0)
162 sleep_flag |= PCATCH;
163 while ((so->so_state & SS_ISCONNECTING)
164 && so->so_error == 0) {

--- 1146 unchanged lines hidden ---
157 error = soconnect(so, raddr, curthread);
158 SOCK_LOCK(so);
159 interrupted = 0;
160 sleep_flag = PSOCK;
161 if (intrflag != 0)
162 sleep_flag |= PCATCH;
163 while ((so->so_state & SS_ISCONNECTING)
164 && so->so_error == 0) {

--- 1146 unchanged lines hidden ---