version 1.9.2.4, 2012/05/15 16:06:13
|
version 1.9.2.5, 2012/05/15 16:10:58
|
Line 881 rpc_srv_loopServer(rpc_srv_t * __restrict srv)
|
Line 881 rpc_srv_loopServer(rpc_srv_t * __restrict srv)
|
} |
} |
|
|
|
|
#if 0 |
|
/* |
/* |
* rpc_srv_execCall() Execute registered call from RPC server |
* rpc_srv_execCall() Execute registered call from RPC server |
* |
* |
Line 903 rpc_srv_execCall(rpc_func_t * __restrict call, struct
|
Line 902 rpc_srv_execCall(rpc_func_t * __restrict call, struct
|
return -1; |
return -1; |
} |
} |
|
|
dl = dlopen(AIT_ADDR(&call->func_file), RTLD_NOW); | dl = dlopen(AIT_ADDR(&call->func_file), RTLD_LAZY | RTLD_GLOBAL); |
if (!dl) { |
if (!dl) { |
rpc_SetErr(ENOENT, "Can`t attach module %s!", dlerror()); |
rpc_SetErr(ENOENT, "Can`t attach module %s!", dlerror()); |
return -1; |
return -1; |
Line 920 rpc_srv_execCall(rpc_func_t * __restrict call, struct
|
Line 919 rpc_srv_execCall(rpc_func_t * __restrict call, struct
|
dlclose(dl); |
dlclose(dl); |
return ret; |
return ret; |
} |
} |
#endif |
|