2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
15 struct rx_call **calls;
17 short nReady; /* XXX UNALIGNED */
20 #ifdef RX_ENABLE_LOCKS
23 #endif /* RX_ENABLE_LOCKS */
26 #define multi_Rx(conns, nConns) \
28 register struct multi_handle *multi_h;\
29 register int multi_i;\
30 register struct rx_call *multi_call;\
31 multi_h = multi_Init(conns, nConns);\
32 for (multi_i = 0; multi_i < nConns; multi_i++)
34 #define multi_Body(startProc, endProc)\
35 multi_call = multi_h->calls[multi_i];\
37 rx_FlushWrite(multi_call);\
39 while ((multi_i = multi_Select(multi_h)) >= 0) {\
40 register afs_int32 multi_error;\
41 multi_call = multi_h->calls[multi_i];\
42 multi_error = rx_EndCall(multi_call, endProc);\
43 multi_h->calls[multi_i] = (struct rx_call *) 0
45 #define multi_Abort break
48 multi_Finalize(multi_h);\
51 /* Ignore remaining multi RPC's */
52 #define multi_End_Ignore\
53 multi_Finalize_Ignore(multi_h);\
56 #endif /* _RX_MULTI_ End of rx_multi.h */