daemoncsched.c
来自「Path MPICH-V for MPICH the MPI Implement」· C语言 代码 · 共 48 行
C
48 行
/** @file daemonCsched.c implements daemon-to-checkpoint-scheduler communication scheme */#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <sys/ioctl.h>#include <unistd.h>#include <stdlib.h>#include "debug.h"#include "config.h"#include "daemonCsched.h"#include "utils_socket.h"#include "csched_proto.h"#define STATUS_NOT_CONNECTED 0#define STATUS_CONNECTED 1#define STATUS_CP_REQUESTED 2#define STATUS_CP_RUNNING 3/******************************************************* * API implementation * *******************************************************/int ftp_csched_write(int fd){ return 0;}int ftp_csched_read(int fd){ return 0;}int ftp_init_csched(struct sockaddr_in *saddr, int myrank, int worldsize){ return -1;}int ftp_getcschedfdset(){ return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?