projects
/
invirt/third/libt4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-ups
[invirt/third/libt4.git]
/
rpc
/
rpc.h
diff --git
a/rpc/rpc.h
b/rpc/rpc.h
index
f1eb3bc
..
df5d89e
100644
(file)
--- a/
rpc/rpc.h
+++ b/
rpc/rpc.h
@@
-2,11
+2,9
@@
#define rpc_h
#include "types.h"
#define rpc_h
#include "types.h"
-#include <sys/socket.h>
-#include <netinet/in.h>
#include "rpc_protocol.h"
#include "rpc_protocol.h"
-#include "thr_pool.h"
+#include "thread_pool.h"
#include "marshall.h"
#include "marshall_wrap.h"
#include "connection.h"
#include "marshall.h"
#include "marshall_wrap.h"
#include "connection.h"
@@
-203,7
+201,7
@@
class rpcs : private connection_delegate {
void dispatch(shared_ptr<connection> c, const string & buf);
void dispatch(shared_ptr<connection> c, const string & buf);
- unique_ptr<thread_pool> dispatchpool_{new thread_pool(6, false)};
+ unique_ptr<thread_pool> dispatchpool_{new thread_pool(6)};
unique_ptr<connection_listener> listener_;
// RPC handler for clients binding
unique_ptr<connection_listener> listener_;
// RPC handler for clients binding