summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp.h
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-08-16 12:11:21 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-08-16 12:11:21 +0200
commit6b33850f488ddd23fa29952a8c5d2a7c544617d3 (patch)
tree0ac36f828e5bafc09f2b2d72dbadd3608e7d239e /src/ipcpd/ipcp.h
parentc8283ea410e7d640537303c6b644bbc3afb35cd5 (diff)
downloadouroboros-6b33850f488ddd23fa29952a8c5d2a7c544617d3.tar.gz
ouroboros-6b33850f488ddd23fa29952a8c5d2a7c544617d3.zip
irmd, ipcpd: Signal acceptor only
This adds an extra condvar so the mainloops can signal the acceptor thread without waking up all mainloops.
Diffstat (limited to 'src/ipcpd/ipcp.h')
-rw-r--r--src/ipcpd/ipcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipcpd/ipcp.h b/src/ipcpd/ipcp.h
index d2ad7cde..422670d7 100644
--- a/src/ipcpd/ipcp.h
+++ b/src/ipcpd/ipcp.h
@@ -93,6 +93,7 @@ struct ipcp {
uint8_t cbuf[IPCP_MSG_BUF_SIZE];
size_t cmd_len;
int csockfd;
+ pthread_cond_t acc_cond;
pthread_cond_t cmd_cond;
pthread_mutex_t cmd_lock;