Skip to content
Snippets Groups Projects
Commit 9dcd72e1 authored by Philipp Spilger's avatar Philipp Spilger
Browse files

Add receive_all() function to connections, replaces {,try_}receive()

* replace tbb::concurrent_queue by std::vector and mutex
  because the concurrent queue does not support thread-safe swap
* allows fast acquisition of _all_ messages from the connection
* in the typical use case of sending, waiting until halt and receiving
  this leads to less time spend with exclusive access to the connection
  and therefore more possible parallelism
* remove single-message receive() and try_receive() interface

Depends-On: 11113
Change-Id: Ifd6cebfcea3b9bc56699aaf9db741579ca074a81
parent 810e52db
No related branches found
No related tags found
No related merge requests found
Showing
with 127 additions and 156 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment