summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp.h
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-04-02 09:50:11 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-04-02 09:50:11 +0000
commit484e74fd35417de61005662afe016661ee78114c (patch)
tree0adff5f0a4016e2c0384b5cd06e3783a4eb9c995 /src/ipcpd/ipcp.h
parent4e25827bd78ef32ab01715ff7cc8737a5165fc6c (diff)
parentb707d032cecb0cd97f548b755e4ec2bda190e83c (diff)
downloadouroboros-484e74fd35417de61005662afe016661ee78114c.tar.gz
ouroboros-484e74fd35417de61005662afe016661ee78114c.zip
Merged in dstaesse/ouroboros/be-ipcpd-thr (pull request #453)
Be ipcpd thr
Diffstat (limited to 'src/ipcpd/ipcp.h')
-rw-r--r--src/ipcpd/ipcp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ipcpd/ipcp.h b/src/ipcpd/ipcp.h
index a64ab65c..581ca5e3 100644
--- a/src/ipcpd/ipcp.h
+++ b/src/ipcpd/ipcp.h
@@ -80,7 +80,16 @@ struct ipcp {
int sockfd;
char * sock_path;
+
pthread_t * threadpool;
+
+ struct bmp * thread_ids;
+ size_t max_threads;
+ size_t threads;
+ pthread_cond_t threads_cond;
+ pthread_mutex_t threads_lock;
+
+ pthread_t tpm;
} ipcpi;
int ipcp_init(int argc,