summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/pmt/pmt_int.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Replace boost::any with std::any"Josh Morman2021-11-061-5/+5
| | | | This reverts commit ccd28dfbb1504fdc29db267acd8aa3354fe10cd2.
* Replace boost::any with std::anyMarcus Müller2021-10-281-5/+5
| | | | | | | | This is a modernization possible through C++17 Fixes #4780 Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* runtime: cleaning up unspecific/mistaken boost dependenciesMarcus Müller2021-06-221-3/+1
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* modernization: `override` instead of virtual in all compilation unitsMarcus Müller2020-11-031-17/+17
|
* pmt: stop treating all pairs like they are dictsJacob Gilbert2020-05-051-0/+9
| | | | create a new derived class for pmt dicts so they can be distinguished without complicated try/catch logic, updated QA with a few additional checks. also added an is_pdu() method which returns true if the pmt is a pair of a dict-type PMT and a uniform-vector type, otherwise false
* 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-77/+80
|
* pmt: remove intrusive_ptrAndrej Rode2019-04-191-45/+0
|
* pmt: replace file generation with pre-generated filesAndrej Rode2018-08-261-3/+0
|
* pmt: Removing support for boost < 1.53 in ~pmt_tDarek Kawamoto2016-12-071-20/+1
|
* pmt: Fixing #if boost version checks in pmt_t.Darek Kawamoto2016-12-051-3/+4
|
* pmt: Adding memory fence to ~pmt_t for proper multi-core ARM execution.Darek Kawamoto2016-12-011-1/+20
| | | | | | | | | | Occasionally, flowgraphs running on my E3xx processor would segfault in the pmt_t destructor (an odd place to crash). When this segfault happens, it's common (but not guaranteed) for the top of the coredump backtrace to be at 0x0000001c or 0x00000018. Always near or at the top was always a pmt destructor, such as ~pmt_pair() or ~pmt_tuple(). After reading up in Boost Reference Counter Example Implementation, it seems as though we need to add a memory fence to ensure proper memory ordering (this issue did not happen on Intel processors due to the stronger memory model there). This commit changes the pmt_t's internal implementation (pmt_int.h and pmt.cc) of intrusive_ptr_add_ref and intrusive_ptr_release to be exactly like boost's recommended example, and seems to prevent this kind of segfault. Additionally, since Ubuntu 12.04 comes with boost 1.48, which does not have boost/atomic.hpp, the changes are wrapped in #if conditions until support for this configuration is discontinued.
* Merge remote-tracking branch 'mmueller/pmt_io_uniform_vector_to_string'Johnathan Corgan2014-06-131-0/+1
|\ | | | | | | | | Conflicts: gnuradio-runtime/lib/pmt/pmt_int.h
| * pmt_io: adding string conversion for uniform vectorsMarcus Müller2014-04-121-0/+1
| | | | | | | | | | Sadly, this needed expansion of unv_template, otherwise I'd have to hand-write gengen-style code in pmt_io.cc
* | pmt: adding pmt.uniform_vector_itemsize(pmt_t vector), returns the size per ↵Tim O'Shea2014-05-141-0/+1
|/ | | | item in bytes within a uniform vector for any kind of uniform vector
* gruel: moved gruel into subdirs of gnuradio-runtime.Tom Rondeau2013-04-011-0/+247
PMTs are handled slightly different and are installed into their own module and include dir.