summaryrefslogtreecommitdiff
path: root/gr-zeromq/lib/sub_source_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* zeromq: Remove manual memory managementThomas Habets2020-09-221-1/+1
| | | | | I believe this fixes a memory leak, as the thread objects were never deleted.
* Replace all calls to `get_initial_sptr` with `make_block_sptr`Thomas Habets2020-07-301-2/+2
| | | | | | | | | | | | | | First batch of changes: ``` find […] -print0 | xargs -0 sed -i -r '/get_initial_sptr/{:nxt N;/;/!b nxt;s/get_initial_sptr\(\s*new ([^(]+)(.*)\)\)/make_block_sptr<\1>\2)/}' ``` Then: * Back out `sptr_magic.h` edits * Change some `friend` clauses * clang-format the whole thing * Update checksums in the pybind11 bindings files
* gr-zeromq: Add optional key filteringAndriy Gelman2020-03-021-7/+17
| | | | | | | | | Fixes #2236 Allows to filter a multi-part message by key/topic on a sub source and insert key/topic on a pub sink. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* clang-format: Ordering all the includesMarcus Müller2019-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-46/+43
|
* gr-zeromq: Big rework for performance and correctnessSylvain Munaut2016-01-271-62/+32
| | | | | | | | | | | | | | | - Use class hierarchy trying to maximize code re-use. - Dont' drop samples on receive if the output buffer doesn't have enough space. - Don't drop tags on receive by putting tags in the future. - Better metadata creation/parsing avoiding copying lots data. - Always do as much work as possible in a single call to work() to avoid scheduler overhead as long as possible. - Allow setting the high watermark to avoid older version of zeromq's default of buffering infinite messages and causing a paging thrash to/from disk when the flow graph can't keep up. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* zeromq: minor cleanupJohnathan Corgan2015-01-121-12/+13
|
* zmq: stream tag passing now worksTim O'Shea2014-12-261-1/+4
|
* zmq: all source blocks should now support tag headersTim O'Shea2014-10-271-1/+1
|
* zmq: hoisting tag parsing into helper function, should now be easy to use in ↵Tim O'Shea2014-10-271-24/+13
| | | | other zmq blocks
* zmq: default to not pass tags (compatible wire format)Tim O'Shea2014-10-271-3/+6
|
* zmq: tags should now be serializing and deserializing correctly for ↵Tim O'Shea2014-10-271-6/+27
| | | | pub_sink/sub_source
* Add sub_source block and fix pub_sinkCamilo Solano2014-05-131-0/+102