improve resmgr
This commit is contained in:
parent
4db6b039c5
commit
1f1e4fdaba
10 changed files with 107 additions and 221 deletions
|
|
@ -90,6 +90,7 @@ typedef struct {
|
|||
zarray_t jobs;
|
||||
} jobmgr_t;
|
||||
|
||||
#if 0
|
||||
typedef struct {
|
||||
mylock_t lock;
|
||||
htab_t htab;
|
||||
|
|
@ -98,6 +99,7 @@ typedef struct {
|
|||
zarray_t defs;
|
||||
zarray_t sharedinst;
|
||||
} resmgr_t;
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
mylock_t lock;
|
||||
|
|
@ -125,6 +127,7 @@ typedef struct {
|
|||
zarray_t endpoints;
|
||||
endpoint_t ep;
|
||||
zarray_t configs;
|
||||
zarray_t sharedinst;
|
||||
controller_t controllers[N_CONTROLLER_MAX];
|
||||
int myidx;
|
||||
int master;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue