summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp.h
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-10-26 13:30:13 +0000
committerdimitri staessens <[email protected]>2016-10-26 13:30:13 +0000
commitf60e18adc78afaf4d07a10e6fe8aec3767e0ca11 (patch)
tree59699ae6a5166b96caf9b1518f370a456530b8d2 /src/ipcpd/ipcp.h
parent696511dcccfdf1dd1f86cc9ea64379f17722afee (diff)
parent188aba280f7c5b80b868cb1527fce9d45702a196 (diff)
downloadouroboros-f60e18adc78afaf4d07a10e6fe8aec3767e0ca11.tar.gz
ouroboros-f60e18adc78afaf4d07a10e6fe8aec3767e0ca11.zip
Merged in sandervrijders/ouroboros/be-ipcp-threads (pull request #283)
ipcpd: Add threadpool for main loop
Diffstat (limited to 'src/ipcpd/ipcp.h')
-rw-r--r--src/ipcpd/ipcp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ipcpd/ipcp.h b/src/ipcpd/ipcp.h
index 18a5bdab..c89fe438 100644
--- a/src/ipcpd/ipcp.h
+++ b/src/ipcpd/ipcp.h
@@ -50,7 +50,9 @@ struct ipcp {
pthread_mutex_t state_mtx;
pthread_cond_t state_cond;
- pthread_t mainloop;
+ int sockfd;
+ char * sock_path;
+ pthread_t * threadpool;
} ipcpi;
int ipcp_init(enum ipcp_type type,