2 static char sfs_m_msgSid[] = "@(#)sfs_m_msg.c 2.1 97/10/23";
6 * Copyright (c) 1992-1997,2001 by Standard Performance Evaluation Corporation
8 * Standard Performance Evaluation Corporation (SPEC)
9 * 6585 Merchant Place, Suite 100
12 * This product contains benchmarks acquired from several sources who
13 * understand and agree with SPEC's goal of creating fair and objective
14 * benchmarks to measure computer performance.
16 * This copyright notice is placed here only to protect SPEC in the
17 * event the source is misused in any manner that is contrary to the
18 * spirit, the goals and the intent of SPEC.
20 * The source code is provided to the user or company under the license
21 * agreement for the SPEC Benchmark Suite for this product.
24 /*****************************************************************
26 * Copyright 1991,1992 Legato Systems, Inc. *
27 * Copyright 1991,1992 Auspex Systems, Inc. *
28 * Copyright 1991,1992 Data General Corporation *
29 * Copyright 1991,1992 Digital Equipment Corporation *
30 * Copyright 1991,1992 Interphase Corporation *
31 * Copyright 1991,1992 Sun Microsystems, Inc. *
33 *****************************************************************/
37 * int * signal_sfs_1(sync_string *, CLIENT *);
43 * 04-Dec-91 Keith Include sfs_def.h for SYSV/SVR4
45 * 17-Jun-91 Teelucksingh Create multi-client synchronization
51 * ------------------------- Include Files -------------------------
62 #include <sys/types.h>
65 #include "sfs_c_def.h"
66 #include "sfs_m_def.h"
69 * ----------------------- Static Definitions -----------------------
73 * Almost all rpcs are sent over TCP so we have a reliable transport,
74 * unfortunately the initialization phase may highly overload the
75 * server and the previous default of 5 seconds might timeout before
76 * it gets acknowledged. The risk of a large timeout is that there is
77 * an added period after a stop message is sent. This is usually not
80 static struct timeval TIMEOUT = { 60, 0 };
84 * ------------------- Multi-client Message Handling -------------------
94 (void) memset((char *) &res, '\0', sizeof(res));
95 if (clnt_call(clnt, SIGNAL_SFS, xdr_sync_string, (caddr_t)argp, xdr_int,
96 (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) {