diff options
author | trungnob <trung.n.tran@ni.com> | 2017-05-19 17:43:26 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-05-20 21:21:59 -0700 |
commit | b431866a5ec00753b40823e3172a8388582701c4 (patch) | |
tree | 3238e22f847439df08a79e413abfc649b5f81906 /host/lib/image_loader.cpp | |
parent | 6c002e026645738e8cc23e3e1b3d2a631c7f2b3b (diff) | |
download | uhd-b431866a5ec00753b40823e3172a8388582701c4.tar.gz uhd-b431866a5ec00753b40823e3172a8388582701c4.tar.bz2 uhd-b431866a5ec00753b40823e3172a8388582701c4.zip |
log: Remove logging out of any UHD_STATIC_BLOCK.
Window DLL loading is causing deadlock due to thread creation and
synchronization of logging system; therefore, we want to remove it for
now.
Diffstat (limited to 'host/lib/image_loader.cpp')
-rw-r--r-- | host/lib/image_loader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/image_loader.cpp b/host/lib/image_loader.cpp index b05664dd0..8b56d607e 100644 --- a/host/lib/image_loader.cpp +++ b/host/lib/image_loader.cpp @@ -46,8 +46,8 @@ UHD_SINGLETON_FCN(string_map_t, get_recovery_strings); void uhd::image_loader::register_image_loader(const std::string &device_type, const loader_fcn_t &loader_fcn, const std::string &recovery_instructions){ - UHD_LOGGER_TRACE("UHD") << "Registering image loader and recovery instructions for " - << device_type; + // UHD_LOGGER_TRACE("UHD") << "Registering image loader and recovery instructions for " + // << device_type; get_image_loaders().insert(loader_fcn_pair_t(device_type, loader_fcn)); get_recovery_strings().insert(string_pair_t(device_type, recovery_instructions)); |