时间原因,暂存部分更改
This commit is contained in:
11
c/network/erroprocess/erroprocess.c
Normal file
11
c/network/erroprocess/erroprocess.c
Normal file
@ -0,0 +1,11 @@
|
||||
#include "erroprocess.h"
|
||||
#include <stdio.h>
|
||||
#include <stddef.h>
|
||||
|
||||
int give_upjobs(indiector *self)
|
||||
{
|
||||
if(self == NULL)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
20
c/network/erroprocess/erroprocess.h
Normal file
20
c/network/erroprocess/erroprocess.h
Normal file
@ -0,0 +1,20 @@
|
||||
#ifndef ERROPROCESS
|
||||
#define EROPROCESS
|
||||
typedef struct jobs
|
||||
{
|
||||
struct jobs* next;
|
||||
int job;
|
||||
}jobs;
|
||||
|
||||
|
||||
typedef struct indiector
|
||||
{
|
||||
int status;//熔断标志位
|
||||
int retreat_index;//退避指数
|
||||
jobs *head_job;
|
||||
jobs *rear_job;
|
||||
}indiector;
|
||||
|
||||
int give_upjobs(indiector *self);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user