diff options
author | Abdo-Gaber <abdo.gaber@ni.com> | 2019-03-25 15:30:36 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-04-11 16:46:05 -0700 |
commit | f4c64181e386e81829c90c9bd8d3cbc6cf37cee9 (patch) | |
tree | 80ba87cec483948ca2e42142c9648ecd2a58b7c5 /host/utils/b2xx_fx3_utils.cpp | |
parent | 497513c74d79d75cf9a1bbe4eb0f441ef99f339e (diff) | |
download | uhd-f4c64181e386e81829c90c9bd8d3cbc6cf37cee9.tar.gz uhd-f4c64181e386e81829c90c9bd8d3cbc6cf37cee9.tar.bz2 uhd-f4c64181e386e81829c90c9bd8d3cbc6cf37cee9.zip |
log: fix deadlock issue on Windows machines
In log.cpp, a deadlock can occur while popping elements from the log
queue. If the queue is empty, the call does not timeout, and waits
infinitely. Replacing pop_with_wait() with pop_with_timed_wait() solves
this issue.
Diffstat (limited to 'host/utils/b2xx_fx3_utils.cpp')
0 files changed, 0 insertions, 0 deletions