diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-04-06 14:53:35 +0000 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-04-06 14:53:35 +0000 |
commit | a520f53970e59b4663b2baa70dd458175154622b (patch) | |
tree | ec99dad12704ff9728d408fb93b356d449fe70c8 /src/ipcpd/ipcp.h | |
parent | 0f9954dd086834a996d5585d923364b765b752e4 (diff) | |
parent | a4ce5e7d47d27c8b582e27b38ce61c9cb9735992 (diff) | |
download | ouroboros-a520f53970e59b4663b2baa70dd458175154622b.tar.gz ouroboros-a520f53970e59b4663b2baa70dd458175154622b.zip |
Merged in dstaesse/ouroboros/be-race-fix (pull request #469)
ipcpd: Fix race condition with concurrent allocs
Diffstat (limited to 'src/ipcpd/ipcp.h')
-rw-r--r-- | src/ipcpd/ipcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/ipcp.h b/src/ipcpd/ipcp.h index 145e91f5..e5c4b9af 100644 --- a/src/ipcpd/ipcp.h +++ b/src/ipcpd/ipcp.h @@ -81,6 +81,8 @@ struct ipcp { int sockfd; char * sock_path; + int alloc_id; + pthread_cond_t alloc_cond; pthread_mutex_t alloc_lock; pthread_t * threadpool; |