aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/tasks.cpp
diff options
context:
space:
mode:
authorAbdo-Gaber <abdo.gaber@ni.com>2019-03-25 15:30:36 +0100
committermichael-west <michael.west@ettus.com>2019-05-21 16:12:07 -0700
commitec69cdf30c1b182338f4bfdefe61470d7113b84e (patch)
tree7b140b06069438568cb3a909fd479cf90bd7c153 /host/lib/utils/tasks.cpp
parentcbba2d7b50a2e24b33f6b9ae44e847da06484165 (diff)
downloaduhd-ec69cdf30c1b182338f4bfdefe61470d7113b84e.tar.gz
uhd-ec69cdf30c1b182338f4bfdefe61470d7113b84e.tar.bz2
uhd-ec69cdf30c1b182338f4bfdefe61470d7113b84e.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/lib/utils/tasks.cpp')
0 files changed, 0 insertions, 0 deletions