aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/lib/mykonos/adi_ctrl.cpp
diff options
context:
space:
mode:
authorTrung N Tran <trung.tran@ettus.com>2018-04-27 15:27:13 -0700
committerMartin Braun <martin.braun@ettus.com>2018-04-30 14:36:29 -0700
commit546aa04355ff34924ce1d00fd003cb0ee63c8cf9 (patch)
tree7922390d41b4dbc90c1bd71f763b42e05ca85b44 /mpm/lib/mykonos/adi_ctrl.cpp
parent4e2fd551ad48e1ee13d2b7a203f624dd828c2c3b (diff)
downloaduhd-546aa04355ff34924ce1d00fd003cb0ee63c8cf9.tar.gz
uhd-546aa04355ff34924ce1d00fd003cb0ee63c8cf9.tar.bz2
uhd-546aa04355ff34924ce1d00fd003cb0ee63c8cf9.zip
mpm: replace long execution function with async call
- Replace mykonos finish_initialization with async version - Replace myknonos setup_cal with async version - Remove disable_timeout on rpc_server init()
Diffstat (limited to 'mpm/lib/mykonos/adi_ctrl.cpp')
-rw-r--r--mpm/lib/mykonos/adi_ctrl.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/mpm/lib/mykonos/adi_ctrl.cpp b/mpm/lib/mykonos/adi_ctrl.cpp
index 5b2775ae0..2ae0ef663 100644
--- a/mpm/lib/mykonos/adi_ctrl.cpp
+++ b/mpm/lib/mykonos/adi_ctrl.cpp
@@ -278,13 +278,13 @@ commonErr_t CMB_writeToLog(
else {
mpm_log_level = mpm::types::log_level_t::TRACE;
}
-
- mpm::types::log_buf::make_singleton()->post(
- mpm_log_level,
- "AD937X",
- str(boost::format("[Device ID %d] [Error code: %d] %s")
- % int(deviceIndex) % errorCode % comment)
- );
+ //FIXME: This caused segfault with the async pattern call to c++ from boost python
+ // mpm::types::log_buf::make_singleton()->post(
+ // mpm_log_level,
+ // "AD937X",
+ // str(boost::format("[Device ID %d] [Error code: %d] %s")
+ // % int(deviceIndex) % errorCode % comment)
+ // );
return COMMONERR_OK;
}