Commit graph

7 commits

Author SHA1 Message Date
Martin Braun
931f304592 thread: Fix formatting in thread utilities
- Apply clang-format
- Remove unnecessary boost::format
2020-02-10 10:19:26 -06:00
Martin Braun
45c67acf8f thread: Remove log messages for set_thread_name() when not supported
On systems like Windows, set_thread_name() is not supported, and would
previously log an error message telling the user that it can't set the
thread name. However, that prevents set_thread_name() to be called
before the logger is being set up, and the logger would like to use this
function.

Since it is obvious to the user if threads can be named or not, the log
message is considered redundant and is removed.
2020-01-29 08:47:50 -06:00
Aaron Rossetto
93d8c6f83b uhd: Add thread affinity utility functions 2019-11-26 11:49:10 -08:00
Ashish Chaudhari
64dd48776c utils: Added set_thread_name for std::thread 2019-11-26 11:49:08 -08:00
Martin Braun
ae5211d71d uhd: Update license headers
All copyright is now attributed to "Ettus Research, a National
Instruments company".

SPDX headers were also updated to latest version 3.0.
2018-02-19 16:54:52 -08:00
Martin Braun
4f948e2c8b Move all license headers to SPDX format. 2017-12-22 10:45:51 -08:00
Andrej Rode
c33928d2bb utils: add set_thread_name API call, move thread_priority to thread 2017-06-29 13:43:05 -07:00
Renamed from host/lib/utils/thread_priority.cpp (Browse further)