From b431866a5ec00753b40823e3172a8388582701c4 Mon Sep 17 00:00:00 2001 From: trungnob Date: Fri, 19 May 2017 17:43:26 -0700 Subject: 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. --- host/lib/image_loader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/image_loader.cpp') 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)); -- cgit v1.2.3