summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/thread
Commit message (Collapse)AuthorAgeFilesLines
* runtime: include boost/format where usedMarcus Müller2021-09-071-0/+1
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* global: automatic removal of <cstdio> where unusedMarcus Müller2021-06-171-1/+0
| | | | | | | | | | used command: sed -i '/^#include.*cstdio.*$/d' $(ag -L '\b(fscanf|sscanf|printf|sprintf|ftell|fgetpos|fseek|fsetpos|rewind|fopen|freopen|fclose|fflush|setbuf|setvbuf|fread|fwrite|fprintf|feof|ferror|perror|clearerror|rename|tmpfile|tmpnam)\b' $(ag -l 'include.*<cstdio>' gnuradio-runtime)) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-191-2/+2
| | | | | | | | | | | | | | | | | | | | run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* C++14: Use std::make_unique instead of boost::make_uniqueMarcus Müller2021-01-041-2/+2
| | | | | | Also, clean up includes Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* runtime: replace stderr logging by calls to GR's logging faciltiesMarcus Müller2020-04-131-2/+8
|
* runtime: Remove most manual memory managementThomas Habets2020-04-111-30/+17
| | | | | | The remaining ones: * `pmt_pool.cc`, which is a memory allocator so that makes sense * the tricky and aptly named `sptr_magic.cc`.
* Update license header to SPDX formatdevnulling2020-01-272-24/+2
|
* clang-format: Ordering all the includesMarcus Müller2019-08-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-093-379/+333
|
* vocoder: Fix build on NetBSD.MBoerschig2019-03-241-1/+2
| | | | | | | There was an #ifdef missing in lib/thread/thread.cc and in gr-vocoder the include directive for gsm.h contains a gsm/ prefix. The cmake FindGSM.cmake looks for **/include/ and **/include/gsm anyways.
* cmake: Update to modern CMake usageAndrej Rode2019-03-041-28/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes using target based setting of includes and link libraries. This will transitively add the includes and linking flags to dependent targets. This is still a work in progress since only the dynamic libraries have been touched and not all of include_directories directives are gone yet. cmake: remove GR_INCLUDE_SUBDIRECTORY macro Previously this macro was used to inject subdirectories in the current CMake namespace. This is generally undesired and pollutes the current context. previously GNU Radio CMake had a non-default option ENABLE_STATIC_LIBS to build both, shared libraries and static libraries. This seems to be a construction taken over from autotools and serves no purpuose in CMake and complicates the library building. cmake: remove GR_LIBTOOL and la generation support This looks like it was primarily used to support projects using autotools, but comments state that the generated .la files aren't compatible with autotools anyway. cmake: Bump required CMake version to 3.8 UseSWIG cmake uses syntax which requires at least CMake 3.8 and is non-trivial to change
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-311-1/+1
|\
| * runtime: replace std::auto_ptr usage with std::unique_ptrJohnathan Corgan2017-04-171-1/+1
| |
* | runtime: BSD shared memory and threading specificsA. Maitland Bottoms2018-03-271-1/+1
|/ | | | From the debian patch set
* cmake: Windows-specific fixes for compatibilityPaul Cercueil2016-05-302-2/+10
| | | | | | | | | | | | | | | | * Properly wrap the prefix variables in quotation marks. This allows to set an empty prefix. * Fix library names when compiling for Windows. This now also works when using mingw-w64. * Fix boost module name when compiling with mingw-w64 * Fix build under mingw-w64 * Fix config.h header to avoid macro redefinition * Remove duplicated Boost::thread entry in dependencies list
* Windows compatibility fixesNicholas Corgan2014-07-071-10/+16
| | | | | * Fixed usage of Windows thread-naming API, changed minimum Windows version * Fixed MSVC usage of isnan, round
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-071-11/+11
| | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* Merge branch 'maint'Tom Rondeau2014-04-251-15/+23
|\
| * runtime: enable thread priority, same as with Linux; fix header comments to ↵Michael Dickens2014-04-241-4/+12
| | | | | | | | this effect
| * whitespace onlyMichael Dickens2014-04-241-11/+11
| |
* | runtime: added ability to name threads, TPB scheduler automatically names ↵Balint Seeber2014-04-041-0/+71
|/ | | | each block's thread
* build: of course this wouldn't have worked. Now fixing the compiler warning ↵Tom Rondeau2014-01-181-1/+1
| | | | on OS X.
* build: fixed a warning on OS X.Tom Rondeau2014-01-181-0/+1
|
* runtime: Disable CPU_SET macros for FreeBSD.Kevin Zheng2013-12-261-1/+2
|
* runtime: adding thread priority methods to gr::blockTim O'Shea2013-06-051-0/+50
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-293-3/+3
|
* gruel: moved gruel into subdirs of gnuradio-runtime.Tom Rondeau2013-04-014-0/+455
PMTs are handled slightly different and are installed into their own module and include dir.