diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-07-28 17:23:42 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-08-01 11:12:14 +0200 |
commit | cf719963be2e42026012e152ae49f4c764dd9b4f (patch) | |
tree | 102b5d165aa246fa601cd565646db2ddb7e6d0b0 /src/lib/shm_ap_rbuff.c | |
parent | 0fdc2c081b63cc3ca38bd97703c113245075aa18 (diff) | |
download | ouroboros-cf719963be2e42026012e152ae49f4c764dd9b4f.tar.gz ouroboros-cf719963be2e42026012e152ae49f4c764dd9b4f.zip |
ipcpd: normal: Allow initiating enrollment
This will add more functionality for enrolling two normal IPCPs with
each other. Some bugs were fixed in CDAP. Now on enrolling, an IPCP
will send a START message to the other IPCP. Next step is syncing the
RIBs.
Diffstat (limited to 'src/lib/shm_ap_rbuff.c')
-rw-r--r-- | src/lib/shm_ap_rbuff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/shm_ap_rbuff.c b/src/lib/shm_ap_rbuff.c index 618c4c19..86570d98 100644 --- a/src/lib/shm_ap_rbuff.c +++ b/src/lib/shm_ap_rbuff.c @@ -296,7 +296,7 @@ struct rb_entry * shm_ap_rbuff_read(struct shm_ap_rbuff * rb) while (tail_el_ptr->port_id < 0) *rb->ptr_tail = (*rb->ptr_tail + 1) & (SHM_RBUFF_SIZE -1); - while(shm_rbuff_empty(rb)) + while (shm_rbuff_empty(rb)) if (pthread_cond_wait(rb->work, rb->shm_mutex) == EOWNERDEAD) { LOG_DBGF("Recovering dead mutex."); |