?? vconnector.c
字號:
/* MPICH-V Copyright (C) 2002, 2003 Groupe Cluster et Grid, LRI, Universite de Paris Sud This file is part of MPICH-V. MPICH-V is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. MPICH-V is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with MPICH-V; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA $Id: vconnector.c,v 1.2 2004/02/17 13:00:41 gk Exp $*/#include "vrun_msg.h"void vconnector(JS* js) { int type; char *m; /* as in message */ switch(type) { case TYPE_CN:#ifdef _ch_xw_ /* Do nothing */#endif#ifdef (_ch_v2_ || _ch_cl) sendArguments(m); write(acceptSocket, m, LENGTH); listOfConnectedNodes(m);#endif#ifdef _ch_v3_ /* Do nothing */#endif break; case TYPE_CM:#ifdef _ch_xw_ channelMemoryArguments(m);#endif break; case TYPE_EL:#ifdef _ch_v2_ eventLoggerArguments(m);#endif break; case TYPE_CS:#ifdef _ch_v2_ checkpointServerArguments(m);#endif#ifdef _ch_cl_ checkpointServerArguments(m);#endif break; case TYPE_SC:#ifdef _ch_v2_ sendCheckpointServerArguments();#endif#ifdef _ch_cl_ sendCheckpointServerArguments();#endif break; case TYPE_LD:#ifdef _ch_v3_ sendCheckpointServerArguments();#endif break; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -