📄 m_check_astate_bk.h
字号:
#define LEN 16348 char A_info[512]={}; struct area_window { int SgNode_DynTab[40][10]; int SwNode_DynTab[17][5]; int FdNode_DynTab[24][4]; int flag_sg; int flag_sw; int flag_fd; int test[200]; } area_window,*aw,*bw; int semid_win; int shmid_win; struct sembuf buf_win; int semid_winb; int shmid_winb; struct sembuf buf_winb; struct area { /* shared memory area */ int Mstate_gl; int Astate_gl; int Bstate_gl; int Sys_main_cpu_gl; int Sys_main_hub_gl; char *Mhost_name_gl; char *Ahost_name_gl; char *Bhost_name_gl; int flag_sys_check; } area, *ap; int semid; /* semaphore id */ int shmid; /* shared memory id */ struct sembuf buf_sem;void Astate_check(){ if(ap->Sys_main_hub_gl==1) { if(socket_coma(ap->Ahost_name_gl,"A_Machine are you ok?")==0) { ap->Astate_gl=1; } else ap->Astate_gl=0; } else if(ap->Sys_main_hub_gl==2) { }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -