The ZMQ CP consists of the thread that receives messages from other peers. These messages are written into a queue within a multikeymap. The acces to this data structure is locked by mutex, thus, no concurrent write exist. The main thread accesses the message queue by busy waiting. This busy
should be replaced by a conditional_wait !
The ZMQ CP consists of the thread that receives messages from other peers. These messages are written into a queue within a multikeymap. The acces to this data structure is locked by mutex, thus, no concurrent write exist. The main thread accesses the message queue by busy waiting. This busy should be replaced by a conditional_wait !
See this branch for first ideas.