usr/src/uts/common/rpc/svc.c
changeset 390 ff89f8283e6c
parent 0 68f95e015346
child 1676 37f4a3e2bd99
equal deleted inserted replaced
389:c83f69c41a44 390:ff89f8283e6c
    17  * fields enclosed by brackets "[]" replaced with your own identifying
    17  * fields enclosed by brackets "[]" replaced with your own identifying
    18  * information: Portions Copyright [yyyy] [name of copyright owner]
    18  * information: Portions Copyright [yyyy] [name of copyright owner]
    19  *
    19  *
    20  * CDDL HEADER END
    20  * CDDL HEADER END
    21  */
    21  */
    22 /*
    22 
    23  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
    23 /*
       
    24  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
    24  * Use is subject to license terms.
    25  * Use is subject to license terms.
    25  */
    26  */
    26 
    27 
    27 /*
    28 /*
    28  * Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved.
    29  * Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved.
  2109 		/*
  2110 		/*
  2110 		 * If the process is exiting/killed, return
  2111 		 * If the process is exiting/killed, return
  2111 		 * immediately without processing any more
  2112 		 * immediately without processing any more
  2112 		 * requests.
  2113 		 * requests.
  2113 		 */
  2114 		 */
  2114 		if (p->p_flag & (SEXITLWPS|SKILLED)) {
  2115 		if (p->p_flag & (SEXITING | SKILLED)) {
  2115 			svc_thread_exit(pool, clone_xprt);
  2116 			svc_thread_exit(pool, clone_xprt);
  2116 
  2117 
  2117 			/*
  2118 			/*
  2118 			 * Thread has been interrupted and therefore
  2119 			 * Thread has been interrupted and therefore
  2119 			 * the service daemon is leaving as well so
  2120 			 * the service daemon is leaving as well so