diff options
author | Trung N Tran <trung.tran@ettus.com> | 2018-04-27 15:27:13 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-04-30 14:36:29 -0700 |
commit | 546aa04355ff34924ce1d00fd003cb0ee63c8cf9 (patch) | |
tree | 7922390d41b4dbc90c1bd71f763b42e05ca85b44 /mpm/lib | |
parent | 4e2fd551ad48e1ee13d2b7a203f624dd828c2c3b (diff) | |
download | uhd-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')
-rw-r--r-- | mpm/lib/mykonos/adi_ctrl.cpp | 14 |
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; } |