forked from lei.chen/myxce
save works
This commit is contained in:
parent
3f74f14687
commit
47fc32b02c
6 changed files with 155 additions and 25 deletions
|
|
@ -65,7 +65,7 @@ worker_t* get_ep_worker(cluster_t* c, endpoint_t* ep)
|
|||
}
|
||||
|
||||
lock(c->workermgr, RTTI_LOCK_READ);
|
||||
rc = key_find(c->workermgr, (void*)idx, (void**)&w);
|
||||
rc = vget(c->workermgr, idx, (void**)&w);
|
||||
if (w != NULL) {
|
||||
reference(w);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue