defglobals.h

来自「spice中支持多层次元件模型仿真的可单独运行的插件源码」· C头文件 代码 · 共 37 行

H
37
字号
/* $Header: /home/harrison/c/tcgmsg/ipcv4.0/RCS/defglobals.h,v 1.1 91/12/06 17:26:22 harrison Exp Locker: harrison $ */#ifndef SNDRCVP#include "sndrcvP.h"#endif/* Actual definition of these globals ... need this once in   any executable ... included by cluster.c *//*********************************************************  Global information and structures ... all begin with SR_  ********************************************************/long SR_n_clus;                   /* No. of clusters */long SR_n_proc;                   /* No. of processes excluding dummy				     master process */long SR_clus_id;                  /* Logical id of current cluster */long SR_proc_id;                  /* Logical id of current process */long SR_debug;                    /* flag for debug output */long SR_exit_on_error;            /* flag to exit on error */long SR_error;                    /* flag indicating error has been called                                     with SR_exit_on_error == FALSE */long SR_nchild;                   /* no. of forked processes */long SR_pids[MAX_SLAVE];          /* pids of forked processes *//* This is used to store info from the PROCGRP file about each   cluster of processes */struct cluster_info_struct SR_clus_info[MAX_CLUSTER];struct process_info_struct SR_proc_info[MAX_PROCESS];

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?