diff options
author | dimitri staessens <[email protected]> | 2017-08-16 12:11:21 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-08-16 12:11:21 +0200 |
commit | 6b33850f488ddd23fa29952a8c5d2a7c544617d3 (patch) | |
tree | 0ac36f828e5bafc09f2b2d72dbadd3608e7d239e /src/ipcpd/ipcp.h | |
parent | c8283ea410e7d640537303c6b644bbc3afb35cd5 (diff) | |
download | ouroboros-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.h | 1 |
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; |